tests: Build test for nsim uart.

Change-Id: Iacfee9cc21b4f4e58d525bde11cdf6feb5a79d30
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-07 22:20:58 +01:00 committed by Anas Nashif
commit 9b131c7f2d
6 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,5 @@
KERNEL_TYPE = nano
BOARD ?= arduino_101_sss
CONF_FILE = prj.conf
include ${ZEPHYR_BASE}/Makefile.inc

View file

@ -0,0 +1 @@
This is simply to build the nsim uart driver to catch build breakage.

View file

@ -0,0 +1,2 @@
CONFIG_NSIM=y
CONFIG_UART_NSIM=y

View file

@ -0,0 +1 @@
obj-y += main.o

View file

@ -0,0 +1,32 @@
/*
* Copyright (c) 2012-2014 Wind River Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <zephyr.h>
#include <misc/printk.h>
/*
* @file
* @brief Hello World demo
* Nanokernel version of hello world demo
*/
void main(void)
{
printk("Hello World!\n");
}

View file

@ -0,0 +1,4 @@
[test_pinmux_dev]
build_only = true
tags = drivers
platform_whitelist = arduino_101_sss