mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
boards/nucleo-f439zi: add initial ADC support
This commit is contained in:
parent
3d5582d563
commit
7f97c2143e
@ -2,6 +2,7 @@ CPU = stm32
|
|||||||
CPU_MODEL = stm32f439zi
|
CPU_MODEL = stm32f439zi
|
||||||
|
|
||||||
# Put defined MCU peripherals here (in alphabetical order)
|
# Put defined MCU peripherals here (in alphabetical order)
|
||||||
|
FEATURES_PROVIDED += periph_adc
|
||||||
FEATURES_PROVIDED += periph_dma
|
FEATURES_PROVIDED += periph_dma
|
||||||
FEATURES_PROVIDED += periph_eth
|
FEATURES_PROVIDED += periph_eth
|
||||||
FEATURES_PROVIDED += periph_i2c
|
FEATURES_PROVIDED += periph_i2c
|
||||||
|
@ -198,6 +198,10 @@ static const eth_conf_t eth_config = {
|
|||||||
#define ETH_DMA_ISR isr_dma2_stream0
|
#define ETH_DMA_ISR isr_dma2_stream0
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
static const adc_conf_t adc_config[] = {{}};
|
||||||
|
|
||||||
|
#define ADC_NUMOF ARRAY_SIZE(adc_config)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user