diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2025-04-09 12:36:24 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2025-04-16 13:54:44 -0400 |
commit | 04e7eb20fd9b65addcbb4773fdb7b6be9dbf6195 (patch) | |
tree | 5a57fe1f0a283e8b5e07a257fdd2af85c493cd50 /src/Makefile | |
parent | 868760f5b1013843aff7390bb94adfb4cb3fe679 (diff) | |
download | kutter-04e7eb20fd9b65addcbb4773fdb7b6be9dbf6195.tar.gz kutter-04e7eb20fd9b65addcbb4773fdb7b6be9dbf6195.tar.xz kutter-04e7eb20fd9b65addcbb4773fdb7b6be9dbf6195.zip |
Kconfig: Add new WANT_I2C option to reduce code size
Make it possible to not compile in support for I2C on chips with small
flash sizes.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index f6641e12..a3bff2f4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,9 +5,9 @@ src-$(CONFIG_HAVE_GPIO) += initial_pins.c gpiocmds.c stepper.c endstop.c \ trsync.c src-$(CONFIG_HAVE_GPIO_ADC) += adccmds.c src-$(CONFIG_WANT_SPI) += spicmds.c -src-$(CONFIG_HAVE_GPIO_SDIO) += sdiocmds.c -src-$(CONFIG_HAVE_GPIO_I2C) += i2ccmds.c +src-$(CONFIG_WANT_I2C) += i2ccmds.c src-$(CONFIG_WANT_HARD_PWM) += pwmcmds.c +src-$(CONFIG_HAVE_GPIO_SDIO) += sdiocmds.c src-$(CONFIG_WANT_BUTTONS) += buttons.c src-$(CONFIG_WANT_TMCUART) += tmcuart.c |