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:

Using west:

west build -t run

Using CMake and ninja:

cmake -B build -GNinja -DBOARD=qemu_x86 samples/hello_world
ninja -C build run

Sample Output

Hello World! x86