aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-04-06 12:42:23 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-04-16 13:54:39 -0400
commitd98abfc5db761455a30062069ac6bcb5d1fd540b (patch)
treed0d070b90449924ab4e86ea32c85858a95d6d75a /src
parentc3c64adc321968b0db63ea560c278d9c99d31c19 (diff)
downloadkutter-d98abfc5db761455a30062069ac6bcb5d1fd540b.tar.gz
kutter-d98abfc5db761455a30062069ac6bcb5d1fd540b.tar.xz
kutter-d98abfc5db761455a30062069ac6bcb5d1fd540b.zip
Kconfig: Replace WANT_DISPLAYS with individual options
Support setting WANT_ST7920 and WANT_HD44780 individually. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig13
-rw-r--r--src/Makefile3
2 files changed, 12 insertions, 4 deletions
diff --git a/src/Kconfig b/src/Kconfig
index e715e5c3..a5cb3b06 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -104,7 +104,11 @@ config WANT_PULSE_COUNTER
bool
depends on HAVE_GPIO
default y
-config WANT_DISPLAYS
+config WANT_ST7920
+ bool
+ depends on HAVE_GPIO
+ default y
+config WANT_HD44780
bool
depends on HAVE_GPIO
default y
@@ -171,8 +175,11 @@ config WANT_NEOPIXEL
config WANT_PULSE_COUNTER
bool "Support measuring fan tachometer GPIO pins"
depends on HAVE_GPIO
-config WANT_DISPLAYS
- bool "Support LCD devices"
+config WANT_ST7920
+ bool "Support ST7920 LCD display"
+ depends on HAVE_GPIO
+config WANT_HD44780
+ bool "Support HD44780 LCD display"
depends on HAVE_GPIO
config WANT_THERMOCOUPLE
bool "Support thermocouple MAX sensors"
diff --git a/src/Makefile b/src/Makefile
index 9cbfd2d3..7ff99193 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,7 +13,8 @@ src-$(CONFIG_WANT_BUTTONS) += buttons.c
src-$(CONFIG_WANT_TMCUART) += tmcuart.c
src-$(CONFIG_WANT_NEOPIXEL) += neopixel.c
src-$(CONFIG_WANT_PULSE_COUNTER) += pulse_counter.c
-src-$(CONFIG_WANT_DISPLAYS) += lcd_st7920.c lcd_hd44780.c
+src-$(CONFIG_WANT_ST7920) += lcd_st7920.c
+src-$(CONFIG_WANT_HD44780) += lcd_hd44780.c
src-$(CONFIG_WANT_SOFTWARE_SPI) += spi_software.c
src-$(CONFIG_WANT_SOFTWARE_I2C) += i2c_software.c
src-$(CONFIG_WANT_THERMOCOUPLE) += thermocouple.c