2024-07-31 15:36:57 -04:00
|
|
|
set(REQUIRES "")
|
2024-07-31 15:51:12 -04:00
|
|
|
set(SRCS "src/configulator.c")
|
2024-07-31 15:36:57 -04:00
|
|
|
|
|
|
|
if(${ESP_PLATFORM})
|
2024-08-02 01:54:42 -04:00
|
|
|
list(APPEND REQUIRES nvs_flash esp_event)
|
2024-08-01 16:34:38 -04:00
|
|
|
list(APPEND SRCS src/cfglr_nvs.c src/cfglr_signal_idf_event.c)
|
2024-07-31 15:36:57 -04:00
|
|
|
endif()
|
|
|
|
|
2024-11-15 14:41:07 -05:00
|
|
|
# make LVGL configurable
|
|
|
|
list(APPEND REQUIRES lvgl)
|
|
|
|
list(APPEND SRCS src/cfglr_signal_lvgl.c)
|
|
|
|
|
2024-07-31 15:36:57 -04:00
|
|
|
idf_component_register(
|
2024-07-31 15:51:12 -04:00
|
|
|
SRCS ${SRCS}
|
2024-07-31 15:36:57 -04:00
|
|
|
INCLUDE_DIRS "include"
|
|
|
|
# if platform esp...
|
|
|
|
REQUIRES ${REQUIRES}
|
|
|
|
)
|