This repository was archived by the owner on Sep 6, 2023. It is now read-only.
File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
- include ../py/mkenv.mk
1
+ include ../../ py/mkenv.mk
2
2
3
3
# qstr definitions (must come before including py.mk)
4
4
QSTR_DEFS = qstrdefsport.h
@@ -12,7 +12,7 @@ MICROPY_PY_BTREE = 1
12
12
FROZEN_MPY_DIR = modules
13
13
14
14
# include py core make definitions
15
- include .. /py/py.mk
15
+ include $( TOP ) /py/py.mk
16
16
17
17
PORT ?= /dev/ttyUSB0
18
18
BAUD ?= 460800
@@ -44,10 +44,10 @@ endif
44
44
IDF_VER := $(shell git -C $(ESPIDF ) describe)
45
45
46
46
INC += -I.
47
- INC += -I..
48
- INC += -I.. /lib/mp-readline
49
- INC += -I.. /lib/netutils
50
- INC += -I.. /lib/timeutils
47
+ INC += -I$( TOP )
48
+ INC += -I$( TOP ) /lib/mp-readline
49
+ INC += -I$( TOP ) /lib/netutils
50
+ INC += -I$( TOP ) /lib/timeutils
51
51
INC += -I$(BUILD )
52
52
53
53
INC_ESPCOMP += -I$(ESPCOMP ) /bootloader_support/include
@@ -698,4 +698,4 @@ $(BUILD)/partitions.bin: $(PART_SRC)
698
698
699
699
# ###############################################################################
700
700
701
- include .. /py/mkrules.mk
701
+ include $( TOP ) /py/mkrules.mk
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ $ git submodule update
109
109
110
110
Then to build MicroPython for the ESP32 run:
111
111
``` bash
112
- $ cd esp32
112
+ $ cd ports/ esp32
113
113
$ make
114
114
```
115
115
This will produce binary firmware images in the ` build/ ` subdirectory
You can’t perform that action at this time.
0 commit comments