Commit 888e261a authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Andrzej Puzdrowski
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 864d104e
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -28,12 +28,12 @@
#include "zcbor_encode.h"

#ifdef __ZEPHYR__
#include <sys/reboot.h>
#include <sys/byteorder.h>
#include <sys/__assert.h>
#include <drivers/flash.h>
#include <sys/crc.h>
#include <sys/base64.h>
#include <zephyr/sys/reboot.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/drivers/flash.h>
#include <zephyr/sys/crc.h>
#include <zephyr/sys/base64.h>
#include <hal/hal_flash.h>
#elif __ESPRESSIF__
#include <bootloader_utility.h>