mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests: add libcoap compilation test
This commit is contained in:
parent
ccfe6d7bb7
commit
fcd6e4c154
12
tests/test_coap/Makefile
Normal file
12
tests/test_coap/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
APPLICATION = test_coap
|
||||
include ../Makefile.tests_common
|
||||
|
||||
BOARD_BLACKLIST := arduino-due chronos mbed_lpc1768 msb-430 msb-430h qemu-i386 telosb wsn430-v1_3b wsn430-v1_4 udoo z1
|
||||
BOARD_INSUFFICIENT_RAM := redbee-econotag
|
||||
#MSP boards: no assert.h
|
||||
#rest: no radio
|
||||
|
||||
USEMODULE += defaulttransceiver
|
||||
USEPKG += libcoap
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
23
tests/test_coap/main.c
Normal file
23
tests/test_coap/main.c
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (C) 2014 Freie Universität Berlin
|
||||
*
|
||||
* This file is subject to the terms and conditions of the GNU Lesser General
|
||||
* Public License. See the file LICENSE in the top level directory for more
|
||||
* details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Check if the libcoap package builds.
|
||||
*
|
||||
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
||||
*
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("Libcoap compiled!");
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user