mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 10:26:52 +08:00
onmibus-f4sd: add ADC support
This commit is contained in:
@@ -371,7 +371,7 @@ CONFIG_STM32_HAVE_TIM14=y
|
||||
CONFIG_STM32_HAVE_ADC2=y
|
||||
CONFIG_STM32_HAVE_ADC3=y
|
||||
# CONFIG_STM32_HAVE_ADC4 is not set
|
||||
# CONFIG_STM32_HAVE_ADC1_DMA is not set
|
||||
CONFIG_STM32_HAVE_ADC1_DMA=y
|
||||
# CONFIG_STM32_HAVE_ADC2_DMA is not set
|
||||
# CONFIG_STM32_HAVE_ADC3_DMA is not set
|
||||
# CONFIG_STM32_HAVE_ADC4_DMA is not set
|
||||
@@ -408,7 +408,7 @@ CONFIG_STM32_HAVE_I2S3=y
|
||||
# CONFIG_STM32_HAVE_OPAMP2 is not set
|
||||
# CONFIG_STM32_HAVE_OPAMP3 is not set
|
||||
# CONFIG_STM32_HAVE_OPAMP4 is not set
|
||||
# CONFIG_STM32_ADC1 is not set
|
||||
CONFIG_STM32_ADC1=y
|
||||
# CONFIG_STM32_ADC2 is not set
|
||||
# CONFIG_STM32_ADC3 is not set
|
||||
CONFIG_STM32_BKPSRAM=y
|
||||
@@ -460,6 +460,7 @@ CONFIG_STM32_UART4=y
|
||||
CONFIG_STM32_USART6=y
|
||||
# CONFIG_STM32_IWDG is not set
|
||||
CONFIG_STM32_WWDG=y
|
||||
CONFIG_STM32_ADC=y
|
||||
CONFIG_STM32_SPI=y
|
||||
CONFIG_STM32_I2C=y
|
||||
# CONFIG_STM32_NOEXT_VECTORS is not set
|
||||
@@ -488,6 +489,9 @@ CONFIG_STM32_DMACAPABLE=y
|
||||
# CONFIG_STM32_TIM1_PWM is not set
|
||||
# CONFIG_STM32_TIM3_PWM is not set
|
||||
# CONFIG_STM32_TIM5_PWM is not set
|
||||
# CONFIG_STM32_TIM1_ADC is not set
|
||||
# CONFIG_STM32_TIM3_ADC is not set
|
||||
# CONFIG_STM32_TIM5_ADC is not set
|
||||
# CONFIG_STM32_TIM1_CAP is not set
|
||||
# CONFIG_STM32_TIM3_CAP is not set
|
||||
# CONFIG_STM32_TIM4_CAP is not set
|
||||
@@ -499,6 +503,12 @@ CONFIG_STM32_DMACAPABLE=y
|
||||
# CONFIG_STM32_TIM12_CAP is not set
|
||||
# CONFIG_STM32_TIM13_CAP is not set
|
||||
# CONFIG_STM32_TIM14_CAP is not set
|
||||
|
||||
#
|
||||
# ADC Configuration
|
||||
#
|
||||
# CONFIG_STM32_ADC_NO_STARTUP_CONV is not set
|
||||
# CONFIG_STM32_ADC1_DMA is not set
|
||||
CONFIG_STM32_USART=y
|
||||
CONFIG_STM32_SERIALDRIVER=y
|
||||
|
||||
|
||||
Reference in New Issue
Block a user