• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/03-Apr-2024-146

CMakeLists.txtD03-Apr-2024194 95

README.rstD03-Apr-2024610 3422

prj.confD03-Apr-202415 20

sample.yamlD03-Apr-2024322 1716

README.rst

1.. _hello_world:
2
3Hello World
4###########
5
6Overview
7********
8
9A simple sample that can be used with any :ref:`supported board <boards>` and
10prints "Hello World" to the console.
11
12Building and Running
13********************
14
15This application can be built and executed on QEMU as follows:
16
17.. zephyr-app-commands::
18   :zephyr-app: samples/hello_world
19   :host-os: unix
20   :board: qemu_x86
21   :goals: run
22   :compact:
23
24To build for another board, change "qemu_x86" above to that board's name.
25
26Sample Output
27=============
28
29.. code-block:: console
30
31    Hello World! x86
32
33Exit QEMU by pressing :kbd:`CTRL+A` :kbd:`x`.
34