1.. zephyr:board:: qemu_riscv32e 2 3Overview 4******** 5 6The RISCV32E QEMU board configuration is used to emulate the RISCV32 (RV32E) architecture. 7 8Programming and Debugging 9************************* 10 11.. zephyr:board-supported-runners:: 12 13Applications for the ``qemu_riscv32e`` board configuration can be built and run in 14the usual way for emulated boards (see :ref:`build_an_application` and 15:ref:`application_run` for more details). 16 17Flashing 18======== 19 20While this board is emulated and you can't "flash" it, you can use this 21configuration to run basic Zephyr applications and kernel tests in the QEMU 22emulated environment. For example, with the :zephyr:code-sample:`synchronization` sample: 23 24.. zephyr-app-commands:: 25 :zephyr-app: samples/synchronization 26 :host-os: unix 27 :board: qemu_riscv32e 28 :goals: run 29 30This will build an image with the synchronization sample app, boot it using 31QEMU, and display the following console output: 32 33.. code-block:: console 34 35 *** Booting Zephyr OS build v3.1.0-rc1-59-g0d66cc1f6645 *** 36 thread_a: Hello World from cpu 0 on qemu_riscv32e! 37 thread_b: Hello World from cpu 0 on qemu_riscv32e! 38 thread_a: Hello World from cpu 0 on qemu_riscv32e! 39 thread_b: Hello World from cpu 0 on qemu_riscv32e! 40 thread_a: Hello World from cpu 0 on qemu_riscv32e! 41 thread_b: Hello World from cpu 0 on qemu_riscv32e! 42 thread_a: Hello World from cpu 0 on qemu_riscv32e! 43 thread_b: Hello World from cpu 0 on qemu_riscv32e! 44 thread_a: Hello World from cpu 0 on qemu_riscv32e! 45 thread_b: Hello World from cpu 0 on qemu_riscv32e! 46 thread_a: Hello World from cpu 0 on qemu_riscv32e! 47 thread_b: Hello World from cpu 0 on qemu_riscv32e! 48 49Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`. 50 51Debugging 52========= 53 54Refer to the detailed overview about :ref:`application_debugging`. 55