Skip to content

Commit 5b49027

Browse files
xiongyihuiMaureenHelm
authored andcommitted
boards: add ADC config to nrf52840_mdk
ADC is supported by nRF52840, so add it to nrf52840_mdk. Signed-off-by: Yihui Xiong <[email protected]>
1 parent 8162e58 commit 5b49027

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

boards/arm/nrf52840_mdk/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ if BOARD_NRF52840_MDK
88
config BOARD
99
default "nrf52840_mdk"
1010

11+
if ADC
12+
13+
config ADC_0
14+
default y
15+
16+
endif # ADC
17+
1118
if I2C
1219

1320
config I2C_0

boards/arm/nrf52840_mdk/nrf52840_mdk.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959
};
6060
};
6161

62+
&adc {
63+
status = "okay";
64+
};
65+
6266
&gpiote {
6367
status = "okay";
6468
};

0 commit comments

Comments
 (0)