mirror of
git://soft.sys114.com/klipper
synced 2026-02-13 01:10:26 +09:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user