From db8f50f290dffca05f22862993db8217986b3ee6 Mon Sep 17 00:00:00 2001 From: Eren Terzioglu Date: Fri, 10 Jul 2026 14:46:52 +0200 Subject: [PATCH] boards/risc-v/espressif: Add CMake ULP board support Add CMake ULP board support for esp32[-c6|-p4] Signed-off-by: Eren Terzioglu --- boards/risc-v/esp32c6/common/src/CMakeLists.txt | 4 ++++ boards/risc-v/esp32p4/common/src/CMakeLists.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/boards/risc-v/esp32c6/common/src/CMakeLists.txt b/boards/risc-v/esp32c6/common/src/CMakeLists.txt index 4eaaf07d419..657c1a5ee39 100644 --- a/boards/risc-v/esp32c6/common/src/CMakeLists.txt +++ b/boards/risc-v/esp32c6/common/src/CMakeLists.txt @@ -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}) diff --git a/boards/risc-v/esp32p4/common/src/CMakeLists.txt b/boards/risc-v/esp32p4/common/src/CMakeLists.txt index a70fb04f17b..6c5b53d0e04 100644 --- a/boards/risc-v/esp32p4/common/src/CMakeLists.txt +++ b/boards/risc-v/esp32p4/common/src/CMakeLists.txt @@ -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})