zephyr/samples/application_development/external_lib/src/main.c
Anas Nashif 4ad2746088 samples: demonstrate the use of KBUILD_ZEPHYR_APP
Jira: ZEP-2280
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-06-19 21:23:11 -04:00

21 lines
289 B
C

/*
* Copyright (c) 2017 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/* hello world example: calling functions from a static library */
#include <zephyr.h>
#include <stdio.h>
#include <mylib.h>
void main(void)
{
printf("Hello World!\n");
mylib_hello_world();
}