esp-idf/components/soc/CMakeLists.txt
2022-05-31 13:44:18 +08:00

10 lines
344 B
CMake

idf_component_register(SRCS "lldesc.c"
"dport_access_common.c"
INCLUDE_DIRS include
LDFRAGMENTS "linker.lf")
idf_build_get_property(target IDF_TARGET)
add_subdirectory(${target})
target_linker_script(${COMPONENT_LIB} INTERFACE "${target}/ld/${target}.peripherals.ld")