ttn-esp32/CMakeLists.txt
2022-09-20 18:56:29 +02:00

23 lines
356 B
CMake

set(COMPONENT_SRCDIRS
"src"
"src/aes"
"src/hal"
"src/lmic"
)
set(COMPONENT_ADD_INCLUDEDIRS
"include"
)
set(COMPONENT_REQUIRES
nvs_flash
mbedtls
driver
esp_event
esp_timer
)
register_component()
if (IDF_VER STRGREATER_EQUAL "v4.0")
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-expansion-to-defined)
endif()