mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
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:
parent
b5412dad07
commit
db8f50f290
2 changed files with 8 additions and 0 deletions
|
|
@ -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})
|
||||
|
|
|
|||
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue