diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-06-08 19:44:34 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-06-13 23:18:59 -0400 |
commit | 4fcf5a31f5c6d84749b3ae85be9482161fd33815 (patch) | |
tree | 26e65e5fc287cc47ec7c58a879e9dcce06587941 /src/Kconfig | |
parent | c20f99374701709888644f7a5d849985ac29fdf9 (diff) | |
download | kutter-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/Kconfig')
-rw-r--r-- | src/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index 0445685e..db265c96 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -21,6 +21,9 @@ config HAVE_GPIO_ADC config HAVE_GPIO_SPI bool default n +config HAVE_GPIO_HARD_PWM + bool + default n config INLINE_STEPPER_HACK # Enables gcc to inline stepper_event() into the main timer irq handler |