blob: 52a25d7abe552e1285470be735a7c6b2f7689b6e [file] [log] [blame]
David Brownada28e12017-07-05 13:36:37 -06001.. _hello_world:
2
3Hello World
4###########
5
6Overview
7********
8A simple Hello World example that can be used with any supported board and
9prints 'Hello World' to the console. This application can be built into modes:
10
11* single thread
12* multi threading
13
14Building and Running
15********************
16
17This project outputs 'Hello World' to the console. It can be built and executed
18on QEMU as follows:
19
20.. code-block:: console
21
22 $ cd samples/hello_world
23 $ make run
24
25
26To build the single thread version, use the supplied configuration file for
27single thread: :file:`prj_single.conf`:
28
29.. code-block:: console
30
31 $ make CONF_FILE=prj_single.conf run
32
33Sample Output
34=============
35
36.. code-block:: console
37
38 Hello World! x86