16 lines
950 B
CMake
16 lines
950 B
CMake
# See the build system documentation in IDF programming guide
|
|
# for more information about component CMakeLists.txt files.
|
|
|
|
idf_component_register(
|
|
SRCS main.c uart_ifx.c port.c adc_ifx.c modem.c comms.c rtc.c i2c_sensors.c data_processing.c ota.c hmi.c wifi_Init.c wifi_Client.c wifi_OTA.c wifi_webServer.c nvm.c# list the source files of this component
|
|
INCLUDE_DIRS # optional, add here public include directories
|
|
PRIV_INCLUDE_DIRS # optional, add here private include directories
|
|
REQUIRES driver esp_adc nvs_flash app_update esp_timer esp_event esp-tls esp_http_client esp_https_server ulp soc esp_wifi lwip # optional, list the component requirements
|
|
PRIV_REQUIRES # optional, list the private requirements
|
|
)
|
|
|
|
set(ulp_app_name ulp_${COMPONENT_NAME})
|
|
set(ulp_riscv_sources "ulp/ulp_main.c")
|
|
set(ulp_exp_dep_srcs "main.c")
|
|
|
|
ulp_embed_binary(${ulp_app_name} "${ulp_riscv_sources}" "${ulp_exp_dep_srcs}") |