modules: migrate includes to <zephyr/...>
In order to bring consistency in-tree, migrate all modules code to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to zephyrproject-rtos#45388 for more details. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
16811660ee
commit
5f5a905784
29 changed files with 61 additions and 61 deletions
|
@ -4,15 +4,15 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <drivers/can.h>
|
||||
#include <init.h>
|
||||
#include <sys/util.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/drivers/can.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#include <canopennode.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CANOPEN_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(canopen_driver);
|
||||
|
||||
K_KERNEL_STACK_DEFINE(canopen_tx_workq_stack,
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <zephyr.h>
|
||||
#include <zephyr/zephyr.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <device.h>
|
||||
#include <toolchain.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
|
||||
/* Use static variables instead of calloc() */
|
||||
#define CO_USE_GLOBALS
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
#include <CANopen.h>
|
||||
|
||||
#include <canopennode.h>
|
||||
#include <dfu/flash_img.h>
|
||||
#include <dfu/mcuboot.h>
|
||||
#include <storage/flash_map.h>
|
||||
#include <sys/crc.h>
|
||||
#include <zephyr/dfu/flash_img.h>
|
||||
#include <zephyr/dfu/mcuboot.h>
|
||||
#include <zephyr/storage/flash_map.h>
|
||||
#include <zephyr/sys/crc.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CANOPEN_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(canopen_program);
|
||||
|
||||
/* Object dictionary indexes */
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <settings/settings.h>
|
||||
#include <zephyr/settings/settings.h>
|
||||
|
||||
#include <CANopen.h>
|
||||
#include <CO_Emergency.h>
|
||||
|
@ -13,7 +13,7 @@
|
|||
#include <canopennode.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_CANOPEN_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(canopen_storage);
|
||||
|
||||
/* 's', 'a', 'v', 'e' from LSB to MSB */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue