diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2025-04-09 12:12:19 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2025-04-16 13:54:44 -0400 |
commit | b0fa36e221959ad88b005fca856adede82427321 (patch) | |
tree | afe864c7e74c72c21dc1ae86da19ad65b4615975 /src/rp2040 | |
parent | 6356e3d35c2d9382a193d186a20890a079578b4c (diff) | |
download | kutter-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/rp2040')
-rw-r--r-- | src/rp2040/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rp2040/Makefile b/src/rp2040/Makefile index f7c38dab..3acda535 100644 --- a/src/rp2040/Makefile +++ b/src/rp2040/Makefile @@ -28,7 +28,7 @@ src-$(CONFIG_CANSERIAL) += ../lib/fast-hash/fasthash.c src-$(CONFIG_USBCANBUS) += rp2040/can.c rp2040/chipid.c ../lib/can2040/can2040.c src-$(CONFIG_USBCANBUS) += generic/canserial.c generic/usb_canbus.c src-$(CONFIG_USBCANBUS) += ../lib/fast-hash/fasthash.c rp2040/usbserial.c -src-$(CONFIG_HAVE_GPIO_HARD_PWM) += rp2040/hard_pwm.c +src-$(CONFIG_WANT_HARD_PWM) += rp2040/hard_pwm.c src-$(CONFIG_HAVE_GPIO_SPI) += rp2040/spi.c src-$(CONFIG_HAVE_GPIO_I2C) += rp2040/i2c.c |