Skip to content

Commit 888e261

Browse files
fabiobaltierinvlsianpu
authored andcommitted
boot_serial: add "zephyr/" prefix to __ZEPHYR__ includes
Add relevant "zephyr/" prefixes to allow building with the Zephyr option CONFIG_LEGACY_INCLUDE_PATH=n. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent 864d104 commit 888e261

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

boot/boot_serial/src/boot_serial.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
#include "zcbor_encode.h"
2929

3030
#ifdef __ZEPHYR__
31-
#include <sys/reboot.h>
32-
#include <sys/byteorder.h>
33-
#include <sys/__assert.h>
34-
#include <drivers/flash.h>
35-
#include <sys/crc.h>
36-
#include <sys/base64.h>
31+
#include <zephyr/sys/reboot.h>
32+
#include <zephyr/sys/byteorder.h>
33+
#include <zephyr/sys/__assert.h>
34+
#include <zephyr/drivers/flash.h>
35+
#include <zephyr/sys/crc.h>
36+
#include <zephyr/sys/base64.h>
3737
#include <hal/hal_flash.h>
3838
#elif __ESPRESSIF__
3939
#include <bootloader_utility.h>

0 commit comments

Comments
 (0)