boards/qemu/cortex_m0/doc/index.rst
.. zephyr:board:: qemu_cortex_m0
Overview
This board configuration will use QEMU to emulate the BBC Microbit (Nordic nRF51822) platform.
This configuration provides support for an ARM Cortex-M0 CPU and these devices:
.. note:: This board configuration makes no claims about its suitability for use with an actual nRF51 Microbit hardware system, or any other hardware system.
Hardware
.. zephyr:board-supported-hw::
This board configuration uses a system clock frequency of 1 MHz.
This board configuration uses a single serial communication channel with the CPU's UART0.
The following platform features are unsupported:
Programming and Debugging
.. zephyr:board-supported-runners::
Use this configuration to run basic Zephyr applications and kernel tests in the QEMU
emulated environment, for example, with the :zephyr:code-sample:synchronization sample:
.. zephyr-app-commands:: :zephyr-app: samples/synchronization :host-os: unix :board: qemu_cortex_m0 :goals: run
This will build an image with the synchronization sample app, boot it using QEMU, and display the following console output:
.. code-block:: console
***** BOOTING ZEPHYR OS v1.8.99 - BUILD: Jun 27 2017 13:09:26 *****
threadA: Hello World from arm!
threadB: Hello World from arm!
threadA: Hello World from arm!
threadB: Hello World from arm!
threadA: Hello World from arm!
threadB: Hello World from arm!
threadA: Hello World from arm!
threadB: Hello World from arm!
threadA: Hello World from arm!
threadB: Hello World from arm!
Exit QEMU by pressing :kbd:CTRL+A :kbd:x.
Refer to the detailed overview about :ref:application_debugging.
References