aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-04-09 12:12:19 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-04-16 13:54:44 -0400
commitb0fa36e221959ad88b005fca856adede82427321 (patch)
treeafe864c7e74c72c21dc1ae86da19ad65b4615975 /src/Makefile
parent6356e3d35c2d9382a193d186a20890a079578b4c (diff)
downloadkutter-b0fa36e221959ad88b005fca856adede82427321.tar.gz
kutter-b0fa36e221959ad88b005fca856adede82427321.tar.xz
kutter-b0fa36e221959ad88b005fca856adede82427321.zip
Kconfig: Add new WANT_HARD_PWM option to reduce code size
Make it possible to not compile in support for hardware pwm on chips with small flash sizes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 7ff99193..04be1f9d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -7,7 +7,7 @@ src-$(CONFIG_HAVE_GPIO_ADC) += adccmds.c
src-$(CONFIG_HAVE_GPIO_SPI) += spicmds.c
src-$(CONFIG_HAVE_GPIO_SDIO) += sdiocmds.c
src-$(CONFIG_HAVE_GPIO_I2C) += i2ccmds.c
-src-$(CONFIG_HAVE_GPIO_HARD_PWM) += pwmcmds.c
+src-$(CONFIG_WANT_HARD_PWM) += pwmcmds.c
src-$(CONFIG_WANT_BUTTONS) += buttons.c
src-$(CONFIG_WANT_TMCUART) += tmcuart.c