git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4237 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
5c1a0c2b8a
commit
58f95054b3
|
@ -101,6 +101,21 @@
|
||||||
#error "ADC driver activated but no ADC peripheral assigned"
|
#error "ADC driver activated but no ADC peripheral assigned"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if STM32_ADC_USE_ADC1 && \
|
||||||
|
!CORTEX_IS_VALID_KERNEL_PRIORITY(STM32_ADC_IRQ_PRIORITY)
|
||||||
|
#error "Invalid IRQ priority assigned to ADC1"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if STM32_ADC_USE_ADC1 && \
|
||||||
|
!CORTEX_IS_VALID_KERNEL_PRIORITY(STM32_ADC_ADC1_DMA_IRQ_PRIORITY)
|
||||||
|
#error "Invalid IRQ priority assigned to ADC1 DMA"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if STM32_ADC_USE_ADC1 && \
|
||||||
|
!STM32_DMA_IS_VALID_PRIORITY(STM32_ADC_ADC1_DMA_PRIORITY)
|
||||||
|
#error "Invalid DMA priority assigned to ADC1"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(STM32_DMA_REQUIRED)
|
#if !defined(STM32_DMA_REQUIRED)
|
||||||
#define STM32_DMA_REQUIRED
|
#define STM32_DMA_REQUIRED
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
- NEW: Updated vendor headers for LPC11xx and LPC13xx, the new headers
|
- NEW: Updated vendor headers for LPC11xx and LPC13xx, the new headers
|
||||||
support several new devices.
|
support several new devices.
|
||||||
- NEW: Demo for STM32F0-Discovery board.
|
- NEW: Demo for STM32F0-Discovery board.
|
||||||
- NEW: Initial support for STM32F0xx devices.
|
- NEW: Initial support for STM32F0xx devices, added a specific ADC driver.
|
||||||
- NEW: Added a common ancestor class to the SDC and MMC_SPI drivers. This
|
- NEW: Added a common ancestor class to the SDC and MMC_SPI drivers. This
|
||||||
allows to share code and definitions.
|
allows to share code and definitions.
|
||||||
- NEW: Modified the SDC driver to implement the new block devices abstract
|
- NEW: Modified the SDC driver to implement the new block devices abstract
|
||||||
|
|
Loading…
Reference in New Issue