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 11Applications for the ``qemu_riscv32e`` board configuration can be built and run in 12the usual way for emulated boards (see :ref:`build_an_application` and 13:ref:`application_run` for more details). 14 15Flashing 16======== 17 18While this board is emulated and you can't "flash" it, you can use this 19configuration to run basic Zephyr applications and kernel tests in the QEMU 20emulated environment. For example, with the :zephyr:code-sample:`synchronization` sample: 21 22.. zephyr-app-commands:: 23 :zephyr-app: samples/synchronization 24 :host-os: unix 25 :board: qemu_riscv32e 26 :goals: run 27 28This will build an image with the synchronization sample app, boot it using 29QEMU, and display the following console output: 30 31.. code-block:: console 32 33 *** Booting Zephyr OS build v3.1.0-rc1-59-g0d66cc1f6645 *** 34 thread_a: Hello World from cpu 0 on qemu_riscv32e! 35 thread_b: Hello World from cpu 0 on qemu_riscv32e! 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 47Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`. 48 49Debugging 50========= 51 52Refer to the detailed overview about :ref:`application_debugging`. 53