CMakeLists.txt 511 B

1234567891011121314151617181920212223
  1. idf_component_register(
  2. SRCS
  3. "sources/display.c"
  4. "sources/creator_hd44780_direct.c"
  5. "sources/creator_hd44780_shift_register.c"
  6. "sources/hal_test.c"
  7. "sources/hal_esp32.c"
  8. "sources/hd44780_decoder.c"
  9. "sources/hd44780_shift_register.c"
  10. "sources/hd44780_direct_sender.c"
  11. INCLUDE_DIRS "headers/"
  12. REQUIRES
  13. freertos
  14. esp_common
  15. esp_driver_gpio
  16. esp_driver_ledc
  17. )
  18. target_compile_definitions(${COMPONENT_LIB} PUBLIC
  19. CHLCD_ON_ESP
  20. )