drivers/adc: stm32: Don't enable ADC instance by default in driver
ADC_1 peripheral instance was enabled by default in driver. This is not the usual way to enable peripheral instances, as it makes board configuration unclear. Move activation in boards that are declaring ADC support. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
612f29ee27
commit
609f78b75c
10 changed files with 64 additions and 11 deletions
|
@ -32,4 +32,11 @@ config UART_6
|
|||
|
||||
endif # SERIAL
|
||||
|
||||
if ADC
|
||||
|
||||
config ADC_1
|
||||
default y
|
||||
|
||||
endif # ADC
|
||||
|
||||
endif # BOARD_NUCLEO_F207ZG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue