Skip to content

Commit

Permalink
samples: ipc: update esp32 board reference
Browse files Browse the repository at this point in the history
After esp32 board was split into several different models,
rpmsg sample code was missing the change. Make esp32_devkitc_wrover
the default option.

(cherry picked from commit 18eff4e)

Original-Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
GitOrigin-RevId: 18eff4e
Change-Id: Ibaa2773582e06814612c44101396d27bbd9f240e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4896609
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Al Semjonovs <asemjonovs@google.com>
Commit-Queue: Al Semjonovs <asemjonovs@google.com>
Tested-by: Al Semjonovs <asemjonovs@google.com>
  • Loading branch information
sylvioalves authored and Chromeos LUCI committed Sep 27, 2023
1 parent 815a86d commit 367b13e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples/subsys/ipc/rpmsg_service/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ elseif("${BOARD}" STREQUAL "mps2_an521")
set(BOARD_REMOTE "mps2_an521_remote")
elseif("${BOARD}" STREQUAL "v2m_musca_b1")
set(BOARD_REMOTE "v2m_musca_b1_ns")
elseif("${BOARD}" STREQUAL "esp32")
elseif("${BOARD}" STREQUAL "esp32_devkitc_wrover")
set(BOARD_REMOTE "esp32_net")
elseif("${BOARD}" STREQUAL "esp32s3_devkitm")
set(BOARD_REMOTE "esp32s3_devkitm_appcpu")
Expand All @@ -35,7 +35,7 @@ enable_language(C ASM)

target_sources(app PRIVATE src/main.c)

if("${BOARD}" STREQUAL "esp32" OR "${BOARD}" STREQUAL "esp32s3_devkitm")
if("${BOARD}" STREQUAL "esp32_devkitc_wrover" OR "${BOARD}" STREQUAL "esp32s3_devkitm")
set_source_files_properties(${REMOTE_ZEPHYR_DIR}/esp32_net_firmware.c PROPERTIES GENERATED TRUE)
target_sources(app PRIVATE src/main.c ${REMOTE_ZEPHYR_DIR}/esp32_net_firmware.c)
endif()
Expand All @@ -54,7 +54,7 @@ ExternalProject_Add(

if(("${BOARD}" STREQUAL "lpcxpresso54114_m4"))
add_dependencies(core_m0_inc_target rpmsg_service_remote)
elseif("${BOARD}" STREQUAL "esp32" OR "${BOARD}" STREQUAL "esp32s3_devkitm")
elseif("${BOARD}" STREQUAL "esp32_devkitc_wrover" OR "${BOARD}" STREQUAL "esp32s3_devkitm")
add_dependencies(app rpmsg_service_remote)
endif()

Expand Down

0 comments on commit 367b13e

Please sign in to comment.