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

tests: add minimal test application

This commit is contained in:
Kaspar Schleiser 2015-07-12 13:06:39 +02:00
parent 53b416e861
commit 10a6afe2e5
2 changed files with 43 additions and 0 deletions

19
tests/minimal/Makefile Normal file
View File

@ -0,0 +1,19 @@
# name of your application
APPLICATION = minimal
# If no BOARD is found in the environment, use this default:
BOARD ?= native
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
#
CFLAGS += -DNDEBUG -DLOG_LEVEL=LOG_NONE
#
DISABLE_MODULE += auto_init
# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1
include $(RIOTBASE)/Makefile.include

24
tests/minimal/main.c Normal file
View File

@ -0,0 +1,24 @@
/*
* Copyright (C) 2015 Kaspar Schleiser <kaspar@schleiser.de>
*
* 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.
*/
/**
* @ingroup test
* @{
*
* @file
* @brief minimal RIOT application, intended as size test
*
* @author Kaspar Schleiser <kaspar@schleiser.de>
*
* @}
*/
int main(void)
{
return 0;
}