Skip to content

Commit

Permalink
boards: nrf52_pca20020: default select ADC instance
Browse files Browse the repository at this point in the history
Automatically select the ADC_0 instance when ADC is required.

Signed-off-by: Peter A. Bigot <[email protected]>
  • Loading branch information
pabigot authored and carlescufi committed Oct 22, 2019
1 parent 1f97946 commit 1b5ec6a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions boards/arm/nrf52_pca20020/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ if BOARD_NRF52_PCA20020
config BOARD
default "nrf52_pca20020"

if ADC

config ADC_0
default y

endif # ADC

config I2C
default y

Expand Down

0 comments on commit 1b5ec6a

Please sign in to comment.