2018-01-12 02:49:13 +00:00
|
|
|
set(SOC_NAME esp32)
|
|
|
|
|
2018-09-11 01:44:12 +00:00
|
|
|
include(${IDF_PATH}/components/soc/${SOC_NAME}/sources.cmake)
|
2018-01-12 02:49:13 +00:00
|
|
|
|
2018-09-11 01:44:12 +00:00
|
|
|
spaces2list(SOC_SRCS)
|
|
|
|
add_prefix(COMPONENT_SRCS "${SOC_NAME}/" ${SOC_SRCS})
|
|
|
|
list(APPEND COMPONENT_SRCS "src/memory_layout_utils.c")
|
2018-03-22 06:27:10 +00:00
|
|
|
|
2018-09-11 01:44:12 +00:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS ${SOC_NAME}/include include)
|
2018-03-22 06:27:10 +00:00
|
|
|
|
2018-09-11 01:44:12 +00:00
|
|
|
set(COMPONENT_REQUIRES)
|
|
|
|
register_component()
|