esp32: Use path relative to root for netutils/timeutils headers.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2020-09-23 15:54:58 +10:00
parent 0fff2e03fe
commit 1dc64359da
6 changed files with 5 additions and 8 deletions

View File

@ -136,9 +136,6 @@ include $(SDKCONFIG)
INC += -I. INC += -I.
INC += -I$(TOP) INC += -I$(TOP)
INC += -I$(TOP)/lib/mp-readline
INC += -I$(TOP)/lib/netutils
INC += -I$(TOP)/lib/timeutils
INC += -I$(BUILD) INC += -I$(BUILD)
INC_ESPCOMP += -I$(ESPCOMP)/bootloader_support/include INC_ESPCOMP += -I$(ESPCOMP)/bootloader_support/include

View File

@ -28,7 +28,7 @@
#include <sys/time.h> #include <sys/time.h>
#include "lib/oofatfs/ff.h" #include "lib/oofatfs/ff.h"
#include "timeutils.h" #include "lib/timeutils/timeutils.h"
DWORD get_fattime(void) { DWORD get_fattime(void) {
struct timeval tv; struct timeval tv;

View File

@ -36,7 +36,7 @@
#include "py/obj.h" #include "py/obj.h"
#include "py/runtime.h" #include "py/runtime.h"
#include "py/mphal.h" #include "py/mphal.h"
#include "timeutils.h" #include "lib/timeutils/timeutils.h"
#include "modmachine.h" #include "modmachine.h"
#include "machine_rtc.h" #include "machine_rtc.h"

View File

@ -41,7 +41,7 @@
#include "py/obj.h" #include "py/obj.h"
#include "py/runtime.h" #include "py/runtime.h"
#include "py/mphal.h" #include "py/mphal.h"
#include "timeutils.h" #include "lib/timeutils/timeutils.h"
#include "modmachine.h" #include "modmachine.h"
#include "machine_rtc.h" #include "machine_rtc.h"
#include "modesp32.h" #include "modesp32.h"

View File

@ -40,7 +40,7 @@
#include "py/runtime.h" #include "py/runtime.h"
#include "py/mphal.h" #include "py/mphal.h"
#include "py/mperrno.h" #include "py/mperrno.h"
#include "netutils.h" #include "lib/netutils/netutils.h"
#include "esp_eth.h" #include "esp_eth.h"
#include "esp_wifi.h" #include "esp_wifi.h"
#include "esp_log.h" #include "esp_log.h"

View File

@ -30,7 +30,7 @@
#include "py/mphal.h" #include "py/mphal.h"
#include "py/objtype.h" #include "py/objtype.h"
#include "py/stream.h" #include "py/stream.h"
#include "netutils.h" #include "lib/netutils/netutils.h"
#include "modmachine.h" #include "modmachine.h"
#include "netif/ppp/ppp.h" #include "netif/ppp/ppp.h"