summaryrefslogtreecommitdiff
path: root/zephyr/boards/arm/npcx_evb/npcx7_evb_defconfig
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-07-06 10:31:01 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-30 16:38:17 +0000
commit70fa081aad48db8319a3b7a3a793ee351fd1f763 (patch)
tree5a87adfc1fdddc47927ff22301bb12544c28e68c /zephyr/boards/arm/npcx_evb/npcx7_evb_defconfig
parent8f29da5d1273e32cd23ce7e3bfb3718ecdae4ad0 (diff)
downloadchrome-ec-70fa081aad48db8319a3b7a3a793ee351fd1f763.tar.gz
zephyr: npcx_evb: Enable ADC
This CL enables 5 ADC channels for npcx7/9_evb. BUG=none BRANCH=none TEST='adc' console command ``` uart:~$ adc ADC0 = 2813 mV ADC1 = 2813 mV ADC2 = 2813 mV ADC3 = 2813 mV ADC4 = 2813 mV ``` Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I08d60dc732f7388642a54eec090ef7bf15760a2a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063103 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/boards/arm/npcx_evb/npcx7_evb_defconfig')
-rw-r--r--zephyr/boards/arm/npcx_evb/npcx7_evb_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/boards/arm/npcx_evb/npcx7_evb_defconfig b/zephyr/boards/arm/npcx_evb/npcx7_evb_defconfig
index cacc3fe709..e9d9fc3bac 100644
--- a/zephyr/boards/arm/npcx_evb/npcx7_evb_defconfig
+++ b/zephyr/boards/arm/npcx_evb/npcx7_evb_defconfig
@@ -35,3 +35,7 @@ CONFIG_WATCHDOG=y
# I2C
CONFIG_I2C=y
+
+# ADC
+CONFIG_ADC=y
+CONFIG_ADC_SHELL=n