OVMS3-idf/components/soc/CMakeLists.txt
2018-09-11 09:44:12 +08:00

12 lines
No EOL
321 B
CMake

set(SOC_NAME esp32)
include(${IDF_PATH}/components/soc/${SOC_NAME}/sources.cmake)
spaces2list(SOC_SRCS)
add_prefix(COMPONENT_SRCS "${SOC_NAME}/" ${SOC_SRCS})
list(APPEND COMPONENT_SRCS "src/memory_layout_utils.c")
set(COMPONENT_ADD_INCLUDEDIRS ${SOC_NAME}/include include)
set(COMPONENT_REQUIRES)
register_component()