23 lines
711 B
CMake
Executable File
23 lines
711 B
CMake
Executable File
|
|
file(GLOB PORT_SRCS "wifi/*.c" )
|
|
|
|
file(GLOB FILE_SYS_SRCS "file_system/spiffs.c" "file_system/file_encryptor.c" )
|
|
|
|
if(CONFIG_IDF_TARGET_ESP32S2)
|
|
file(GLOB PORT_GUI "GUI/lvgl_task.c" )
|
|
# elseif(CONFIG_IDF_TARGET_ESP32C3)
|
|
file(GLOB PORT_USB "usb_serial_task.c" )
|
|
endif()
|
|
|
|
idf_component_register(SRCS "main.c" "Receiver.c" "flasher_tool.c"
|
|
${PORT_SRCS}
|
|
${FILE_SYS_SRCS}
|
|
${PORT_USB}
|
|
${PORT_GUI}
|
|
INCLUDE_DIRS "."
|
|
INCLUDE_DIRS "GUI/"
|
|
INCLUDE_DIRS "file_system/"
|
|
INCLUDE_DIRS "wifi/")
|
|
|
|
#spiffs_create_partition_image(storage spiffs_image FLASH_IN_PROJECT)
|