zephyr/samples/cpp/hello_world/src/main.cpp
Christopher Friedt 574e641297 samples: cpp: add a Hello, world! C++ app
Create a separate hello world C++ app for Zephyr.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2024-01-17 09:56:34 +01:00

14 lines
194 B
C++

/*
* Copyright (c) 2023, Meta
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <iostream>
int main(void)
{
std::cout << "Hello, C++ world! " << CONFIG_BOARD << std::endl;
return 0;
}