blob: 35e73d396b8a7f089635897e1de43d0f432c5f1d [file] [view] [edit]
To build:
```shell
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.