Commit 54c1e3fb authored by Peter Bigot's avatar Peter Bigot Committed by Fabio Utzig
Browse files

zephyr: fix driver include paths

Zephyr will soon no longer add the drivers subdirectory of the include
hierarchy to the search path, so references to driver headers must
include the drivers/ prefix.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 2ee5f7f7
Loading
Loading
Loading
Loading
+1 −1
Changes for boot/boot_serial/src/boot_serial.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
#include <power/reboot.h>
#include <sys/byteorder.h>
#include <sys/__assert.h>
#include <flash.h>
#include <drivers/flash.h>
#include <sys/crc.h>
#include <sys/base64.h>
#include <cbor.h>
+1 −1
Changes for boot/zephyr/flash_map_extended.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
 */

#include <zephyr.h>
#include <flash.h>
#include <drivers/flash.h>

#include "target.h"

+2 −2
Changes for boot/zephyr/main.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -16,9 +16,9 @@

#include <assert.h>
#include <zephyr.h>
#include <gpio.h>
#include <drivers/gpio.h>
#include <sys/__assert.h>
#include <flash.h>
#include <drivers/flash.h>
#include <drivers/timer/system_timer.h>
#include <usb/usb_device.h>
#include <soc.h>
+1 −1
Changes for boot/zephyr/serial_adapter.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 */

#include <stdio.h>
#include <uart.h>
#include <drivers/uart.h>
#include <assert.h>
#include <string.h>
#include <zephyr.h>