Browse Source

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

Signed-off-by: Damien George <damien@micropython.org>
pull/6516/head
Damien George 4 years ago
parent
commit
1dc64359da
  1. 3
      ports/esp32/Makefile
  2. 2
      ports/esp32/fatfs_port.c
  3. 2
      ports/esp32/machine_rtc.c
  4. 2
      ports/esp32/modesp32.c
  5. 2
      ports/esp32/modnetwork.c
  6. 2
      ports/esp32/network_ppp.c

3
ports/esp32/Makefile

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

2
ports/esp32/fatfs_port.c

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

2
ports/esp32/machine_rtc.c

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

2
ports/esp32/modesp32.c

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

2
ports/esp32/modnetwork.c

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

2
ports/esp32/network_ppp.c

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

Loading…
Cancel
Save