mirror of
https://github.com/manuelbl/ttn-esp32.git
synced 2024-10-05 13:43:58 +02:00
23 lines
356 B
CMake
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()
|