tree: fd6d866300b318a60f8e1b01033327d8c4044255
  1. boards/
  2. BUILD.bazel
  3. prj.conf
  4. README.md
examples/hello_xtensa/README.md

To build:

bazelisk build //hello_xtensa --platforms=//hello_xtensa:qemu_xtensa_dc233c

Then to run:

qemu-system-xtensa -nographic -machine virt -cpu dc233c -semihosting -kernel bazel-bin/hello_xtensa/hello_xtensa

Use Ctrl-A + X to exit from QEMU.

qemu-system-xtensa can be downloaded as part of the “hosttools” package from the Zephyr SDK: https://github.com/zephyrproject-rtos/sdk-ng/releases.