8b45f4e50b
use zephyr.h as the main include in applications, no need to have nano/micro includes in applications and samples. Inclusion of the proper kernel headers is be handled in the zephyr.h based on the configured and used kernel. Change-Id: If5275cef5d2ad1f475dfb39102cb71cfe5630f6c Signed-off-by: Anas Nashif <anas.nashif@intel.com>
28 lines
800 B
C
28 lines
800 B
C
/*
|
|
* Copyright (c) 2015 Intel Corporation
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef _ZEPHYR__H
|
|
#define _ZEPHYR__H
|
|
|
|
#if CONFIG_MICROKERNEL
|
|
#include <microkernel.h>
|
|
#include <sysgen.h>
|
|
#else
|
|
#include <nanokernel.h>
|
|
#endif /* CONFIG_MICROKERNEL */
|
|
|
|
#endif /* _ZEPHYR__H */
|