|
|
@@ -0,0 +1,22 @@
|
|
|
+idf_component_register(
|
|
|
+ SRCS
|
|
|
+ "sources/display.c"
|
|
|
+ "sources/creator_hd44780_direct.c"
|
|
|
+ "sources/hal_test.c"
|
|
|
+ "sources/hal_esp32.c"
|
|
|
+ "sources/hd44780_decoder.c"
|
|
|
+ "sources/hd44780_shift_register.c"
|
|
|
+ "sources/hd44780_direct_sender.c"
|
|
|
+
|
|
|
+ INCLUDE_DIRS "headers/"
|
|
|
+
|
|
|
+ PRIV_REQUIRES
|
|
|
+ freertos
|
|
|
+ esp_common
|
|
|
+ esp_driver_gpio
|
|
|
+ esp_driver_ledc
|
|
|
+)
|
|
|
+
|
|
|
+target_compile_definitions(${COMPONENT_LIB} PUBLIC
|
|
|
+ CHLCD_ON_ESP
|
|
|
+)
|