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: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
Peter Bigot 2020-01-25 05:50:12 -06:00 committed by Fabio Utzig
parent 2ee5f7f7f2
commit 54c1e3fb6b
4 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -6,7 +6,7 @@
*/
#include <zephyr.h>
#include <flash.h>
#include <drivers/flash.h>
#include "target.h"

View File

@ -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>

View File

@ -15,7 +15,7 @@
*/
#include <stdio.h>
#include <uart.h>
#include <drivers/uart.h>
#include <assert.h>
#include <string.h>
#include <zephyr.h>