Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Benjamin Cabé 0ed09a8a51 samples: hello_world: set minimum flash requirement to 16K 4 months ago
..
src
CMakeLists.txt
README.rst
prj.conf
sample.yaml samples: hello_world: set minimum flash requirement to 16K 4 months ago

README.rst

.. zephyr:code-sample:: hello_world
:name: Hello World

Print "Hello World" to the console.

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`.