summaryrefslogtreecommitdiff
path: root/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
diff options
context:
space:
mode:
authorWealian Liao <whliao@nuvoton.corp-partner.google.com>2021-07-06 10:59:58 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-30 17:56:00 +0000
commit5f8e59c305bd8f9497a7409a0d27e034896e4038 (patch)
tree1c69569347dc40d55eebd9c7ab66a1e78e5346f4 /zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
parent7bf38c623e11a98c24aa28ed9cb5c08516a7853b (diff)
downloadchrome-ec-5f8e59c305bd8f9497a7409a0d27e034896e4038.tar.gz
zephyr: npcx_evb: Enable PWM
This CL enables 2 PWM channels for npcx7/9_evb. BRANCH=none BUG=none TEST='pwmduty' console command & check the output waveform is correct. ``` uart:~$ pwmduty PWM channels: 0: 50% 1: 25% ``` Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Change-Id: I6fa5d3b7fd3bf1f9d1fdb3f64ca3488ad3addacc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3063104 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig')
-rw-r--r--zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig b/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
index d812f7d690..955aef4c4a 100644
--- a/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
+++ b/zephyr/boards/arm/npcx_evb/npcx9_evb_defconfig
@@ -38,3 +38,7 @@ CONFIG_I2C=y
# ADC
CONFIG_ADC=y
CONFIG_ADC_SHELL=n
+
+# PWM
+CONFIG_PWM=y
+CONFIG_PWM_SHELL=n