esp-idf/components/esp_system/port/CMakeLists.txt

11 lines
375 B
CMake
Raw Normal View History

target_include_directories(${COMPONENT_LIB} PRIVATE . include PUBLIC soc)
target_include_directories(${COMPONENT_LIB} PUBLIC public_compat)
2021-02-20 04:52:30 -05:00
set(srcs "cpu_start.c" "panic_handler.c" "brownout.c")
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
target_sources(${COMPONENT_LIB} PRIVATE ${srcs})
idf_build_get_property(target IDF_TARGET)
2020-10-08 01:18:16 -04:00
add_subdirectory(soc/${target})