cleanup: include/: move misc/printk.h to sys/printk.h
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>
This commit is contained in:
parent
0c9e280547
commit
9ab2a56751
258 changed files with 355 additions and 340 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <zephyr.h>
|
||||
#include <kernel.h>
|
||||
#include <misc/printk.h>
|
||||
#include <sys/printk.h>
|
||||
|
||||
|
||||
/* This function will allow execute from sram region.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <misc/printk.h>
|
||||
#include <sys/printk.h>
|
||||
|
||||
u32_t var_sram2_data = 10U;
|
||||
u32_t var_sram2_bss;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <misc/printk.h>
|
||||
#include <sys/printk.h>
|
||||
|
||||
void function_in_sram(s32_t value)
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <misc/printk.h>
|
||||
#include <sys/printk.h>
|
||||
|
||||
u32_t var_file3_sram_data = 10U;
|
||||
u32_t var_file3_sram2_bss;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue