1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/examples/hello-world/main.c

33 lines
661 B
C
Raw Normal View History

2014-02-03 22:47:31 +01:00
/*
* Copyright (C) 2014 Freie Universität Berlin
2014-02-03 22:47:31 +01:00
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
2014-02-03 22:47:31 +01:00
*/
/**
* @ingroup examples
* @{
*
* @file
* @brief Hello World application
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
* @author Ludwig Knüpfer <ludwig.knuepfer@fu-berlin.de>
2014-02-03 22:47:31 +01:00
*
* @}
*/
2014-01-06 10:10:47 +01:00
#include <stdio.h>
int main(void)
{
puts("Hello World!");
printf("You are running RIOT on a(n) %s board.\n", RIOT_BOARD);
printf("This board features a(n) %s MCU.\n", RIOT_MCU);
return 0;
2014-01-06 10:10:47 +01:00
}