aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-06-08 19:44:34 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-06-13 23:18:59 -0400
commit4fcf5a31f5c6d84749b3ae85be9482161fd33815 (patch)
tree26e65e5fc287cc47ec7c58a879e9dcce06587941 /src/avr
parentc20f99374701709888644f7a5d849985ac29fdf9 (diff)
downloadkutter-4fcf5a31f5c6d84749b3ae85be9482161fd33815.tar.gz
kutter-4fcf5a31f5c6d84749b3ae85be9482161fd33815.tar.xz
kutter-4fcf5a31f5c6d84749b3ae85be9482161fd33815.zip
pwmcmds: Add Kconfig option to allow boards to disable hardware PWM commands
Some boards may not support hardware based PWM. Update the build so that those commands do not need to be compiled if they are not available. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/avr')
-rw-r--r--src/avr/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/avr/Kconfig b/src/avr/Kconfig
index efc8484a..8d5d4522 100644
--- a/src/avr/Kconfig
+++ b/src/avr/Kconfig
@@ -7,6 +7,7 @@ config AVR_SELECT
default y
select HAVE_GPIO_ADC
select HAVE_GPIO_SPI
+ select HAVE_GPIO_HARD_PWM
config BOARD_DIRECTORY
string