1set(INCLUDE_FILES "include" . include PUBLIC soc)
2
3if(CONFIG_IDF_TARGET_ARCH_RISCV)
4    list(APPEND INCLUDE_FILES "include/riscv")
5endif()
6
7target_include_directories(${COMPONENT_LIB} PRIVATE ${INCLUDE_FILES})
8target_include_directories(${COMPONENT_LIB} PUBLIC public_compat)
9
10set(srcs "cpu_start.c" "panic_handler.c" "brownout.c")
11add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" ${srcs})
12
13target_sources(${COMPONENT_LIB} PRIVATE ${srcs})
14
15idf_build_get_property(target IDF_TARGET)
16add_subdirectory(soc/${target})
17