Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stm32f4 uart and adc enhancement #8624

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/adc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ zephyr_library_sources_ifdef(CONFIG_ADC_QMSI adc_qmsi.c)
zephyr_library_sources_ifdef(CONFIG_ADC_QMSI_SS adc_qmsi_ss.c)
zephyr_library_sources_ifdef(CONFIG_ADC_SAM_AFEC adc_sam_afec.c)
zephyr_library_sources_ifdef(CONFIG_ADC_TI_ADC108S102 adc_ti_adc108s102.c)
zephyr_library_sources_ifdef(CONFIG_ADC_STM32F4 adc_stm32f4.c)

zephyr_library_sources_ifdef(CONFIG_USERSPACE adc_handlers.c)
17 changes: 17 additions & 0 deletions drivers/adc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,20 @@ config ADC_1_IRQ_PRI
prompt "ADC 1 interrupt priority"
default 2

config ADC_2
bool "Enable ADC 2"

config ADC_2_NAME
string "ADC 2 Driver's name"
depends on ADC_2 && !HAS_DTS_ADC
default "ADC_2"

config ADC_2_IRQ_PRI
int
depends on ADC_2 && !HAS_DTS_ADC
prompt "ADC 2 interrupt priority"
default 2

source "drivers/adc/Kconfig.dw"

source "drivers/adc/Kconfig.mcux"
Expand All @@ -84,4 +98,7 @@ source "drivers/adc/Kconfig.sam_afec"

source "drivers/adc/Kconfig.ti_adc108s102"

source "drivers/adc/Kconfig.stm32f4"

endif # ADC

Loading