mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
2ed15d8b1e
This commit adds support for ULP RISC-V for esp32s3. Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
19 lines
369 B
CMake
19 lines
369 B
CMake
idf_build_get_property(target IDF_TARGET)
|
|
|
|
set(srcs "")
|
|
set(includes include)
|
|
|
|
if(CONFIG_SOC_ULP_SUPPORTED)
|
|
list(APPEND srcs
|
|
"ulp.c"
|
|
"ulp_macro.c")
|
|
|
|
if(CONFIG_SOC_RISCV_COPROC_SUPPORTED)
|
|
list(APPEND srcs
|
|
"ulp_riscv.c")
|
|
endif()
|
|
endif()
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
INCLUDE_DIRS ${includes})
|