10 lines
298 B
CMake
Raw Normal View History

2021-02-20 17:52:30 +08:00
target_include_directories(${COMPONENT_LIB} PRIVATE include .)
2021-02-20 17:52:30 +08: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 13:18:16 +08:00
add_subdirectory(soc/${target})