zephyr/samples/hello_world
Jamie McCrae 3b36911461 samples: hello_world: Use full board target string for hwmv2 boards
Outputs the full board target string (including qualifiers) when
using a hwmv2 board

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
2024-03-21 20:10:46 +01:00
..
src samples: hello_world: Use full board target string for hwmv2 boards 2024-03-21 20:10:46 +01:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj.conf samples: hello_world: cmake warning 2020-09-24 07:25:47 -04:00
README.rst doc: hello_world: touch up README 2020-05-06 17:25:49 +02:00
sample.yaml samples: Switch integration_platforms from native_posix to native_sim 2023-11-20 12:02:48 +01:00

.. _hello_world:

Hello World
###########

Overview
********

A simple sample that can be used with any :ref:`supported board <boards>` and
prints "Hello World" to the console.

Building and Running
********************

This application can be built and executed on QEMU as follows:

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :host-os: unix
   :board: qemu_x86
   :goals: run
   :compact:

To build for another board, change "qemu_x86" above to that board's name.

Sample Output
=============

.. code-block:: console

    Hello World! x86

Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.