move misc/printk.h to sys/printk.h and create a shim for backward-compatibility. No functional changes to the headers. A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES. Related to #16539 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
28 lines
503 B
C
28 lines
503 B
C
/* main.c - Application main entry point */
|
|
|
|
/*
|
|
* Copyright (c) 2015-2016 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/types.h>
|
|
#include <stddef.h>
|
|
#include <sys/printk.h>
|
|
#include <ztest.h>
|
|
|
|
#include <bluetooth/bluetooth.h>
|
|
|
|
void test_init(void)
|
|
{
|
|
zassert_false(bt_enable(NULL), "Bluetooth init failed");
|
|
}
|
|
|
|
/*test case main entry*/
|
|
void test_main(void)
|
|
{
|
|
ztest_test_suite(test_bluetooth,
|
|
ztest_unit_test(test_init));
|
|
ztest_run_test_suite(test_bluetooth);
|
|
}
|