boards/qemu/cortex_m3/doc/index.rst
.. zephyr:board:: qemu_cortex_m3
Overview
This board configuration will use QEMU to emulate the TI LM3S6965 platform.
This configuration provides support for an ARM Cortex-M3 CPU and these devices:
.. note:: This board configuration makes no claims about its suitability for use with an actual ti_lm3s6965 hardware system, or any other hardware system.
Hardware
.. zephyr:board-supported-hw::
This board configuration uses a system clock frequency of 12 MHz.
This board configuration uses a single serial communication channel with the CPU's UART0.
If SLIP networking is enabled (see below), an additional serial port will be used for it.
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_m3 :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.
The board supports SLIP networking over an emulated serial port
(CONFIG_NET_SLIP_TAP=y). The detailed setup is described in
:ref:networking_with_qemu.
It is also possible to use the QEMU built-in Ethernet adapter to connect
to the host system. This is faster than using SLIP and is also the preferred
way. See :ref:networking_with_eth_qemu for details.
References