Skip to content

Commit

Permalink
doc: hello world: move to rst and expand docuemntation
Browse files Browse the repository at this point in the history
Change-Id: Id623dd8d2f97836c0f970424d06d9d549065f7c5
Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Jan 6, 2017
1 parent 369d5c9 commit 49bbc4d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 18 deletions.
35 changes: 35 additions & 0 deletions samples/hello_world/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Hello World
###########

Overview
========
A simple Hello World example that can be used with any supported board and
prints 'Hello World' to the console. This application can be built into modes:

* single thread
* multi threading

Building and Running
====================

This project outputs 'Hello World' to the console. It can be built and executed
on QEMU as follows:

.. code-block:: console
make qemu
To build the single thread version, use the supplied configuration file for
single thread: :file:`prj_single.conf`:

.. code-block:: console
make CONF_FILE=prj_single.conf qemu
Sample Output
-------------

.. code-block:: console
Hello World! x86
18 changes: 0 additions & 18 deletions samples/hello_world/README.txt

This file was deleted.

0 comments on commit 49bbc4d

Please sign in to comment.