Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
ed1b9ef89This file is pinned to the selected release. Download the original to open it in your design tool.
set(SRCS
main.c
tcp_server.c
msp_ltm_serial.c
http_server.c
db_esp32_control.c
db_crc.c
db_esp_now.c
db_espnow_mavlink_parser.c
db_espnow_binding.c
db_serial.c
db_mavlink_msgs.c
db_parameters.c
db_led_indicator.c
db_timers.c
)
if(CONFIG_BT_ENABLED)
list(APPEND SRCS db_ble.c)
endif()
idf_component_register(SRCS ${SRCS}
INCLUDE_DIRS ".")
if(CONFIG_WEB_DEPLOY_SF)
set(WEB_SRC_DIR "${CMAKE_BINARY_DIR}/frontend")
spiffs_create_partition_image(www ${WEB_SRC_DIR} FLASH_IN_PROJECT DEPENDS frontend)
endif()