2020-01-08 04:50:03 +00:00
|
|
|
idf_build_get_property(target IDF_TARGET)
|
2018-01-12 02:49:13 +00:00
|
|
|
|
2020-01-19 02:02:21 +00:00
|
|
|
idf_component_register(SRCS "src/cpu_util.c"
|
|
|
|
"src/memory_layout_utils.c"
|
2020-01-08 04:50:03 +00:00
|
|
|
"src/lldesc.c"
|
|
|
|
"src/soc_include_legacy_warn.c"
|
|
|
|
"src/compare_set.c"
|
2020-08-08 12:15:27 +00:00
|
|
|
REQUIRES hal #cpu.h directly includes HAL header
|
2020-09-17 12:05:23 +00:00
|
|
|
INCLUDE_DIRS include
|
2020-01-08 04:50:03 +00:00
|
|
|
PRIV_REQUIRES ${target}
|
|
|
|
LDFRAGMENTS linker.lf)
|
2018-03-22 06:27:10 +00:00
|
|
|
|
2020-09-17 12:05:23 +00:00
|
|
|
add_subdirectory(soc)
|
2019-11-28 01:20:00 +00:00
|
|
|
|
2020-01-09 06:43:41 +00:00
|
|
|
add_subdirectory(src/${target})
|
2020-01-08 04:50:03 +00:00
|
|
|
target_link_libraries(${COMPONENT_LIB} PUBLIC "soc_${target}")
|