zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.82k stars 6.6k forks source link

boards: esp32c3: sysbuild fails for board `esp32c3_luatos_core_usb` #67013

Closed jonkensta closed 7 months ago

jonkensta commented 10 months ago

Describe the bug System build for samples/hello_world fails for board esp32c3_luatos_core_usb.

Specifically, the reproduction steps below result in the following error:

<snip>/mcuboot.ld:19:2: error: #error "ESP32C3 bootloader cannot use XIP"

Note that while this issue applies to the board esp32c3_luatos_core_usb, system build for the related board esp32c3_luatos_core seems to work fine.

Workaround It's possible to workaround this issue by doing the following within the zephyrproject folder:

cd bootloader/mcuboot/boot/zephyr/boards
cp esp32c3_luatos_core.conf esp32c3_luatos_core_usb.conf

indicating that the issue is caused by a missing MCUboot .conf file for this board.

To Reproduce Steps to reproduce the behavior:

  1. cmake -Bbuild -GNinja -DBOARD=esp32c3_luatos_core_usb -DAPP_DIR=samples/hello_world share/sysbuild
  2. ninja -Cbuild
  3. See error given above.

Expected behavior I expected the system build to finish without failing.

Impact Given the workaround, the impact is minimal.

Environment

github-actions[bot] commented 10 months ago

Hi @jonkensta! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

github-actions[bot] commented 8 months ago

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.