boards/risc-v/espressif: Add CMake ULP board support

Add CMake ULP board support for esp32[-c6|-p4]

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
This commit is contained in:
Eren Terzioglu 2026-07-10 14:46:52 +02:00 committed by Xiang Xiao
parent b5412dad07
commit db8f50f290
2 changed files with 8 additions and 0 deletions

View file

@ -112,6 +112,10 @@ if(CONFIG_ARCH_BOARD_COMMON)
target_link_libraries(board PRIVATE romfs_etc)
endif()
if(CONFIG_ESPRESSIF_ULP_USE_TEST_BIN)
include(${NUTTX_DIR}/arch/risc-v/src/common/espressif/ulp.cmake)
endif()
endif()
target_sources(board PRIVATE ${SRCS})

View file

@ -76,6 +76,10 @@ if(CONFIG_ARCH_BOARD_COMMON)
list(APPEND SRCS esp_board_pcnt.c)
endif()
if(CONFIG_ESPRESSIF_ULP_USE_TEST_BIN)
include(${NUTTX_DIR}/arch/risc-v/src/common/espressif/ulp.cmake)
endif()
endif()
target_sources(board PRIVATE ${SRCS})