This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Hello World


A simple sample that can be used with any supported board and prints “Hello World” to the console.

Building and Running

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

west build -b qemu_x86 samples/hello_world
west build -t run

To build for another board, change “qemu_x86” above to that board’s name.

Sample Output

Hello World! x86

Exit QEMU by pressing CTRL+A x.