Skip to content

Commit 875e760

Browse files
committed
revert back esptool to python2 and force to build esptools with python2
1 parent 9c40e62 commit 875e760

File tree

2 files changed

+66
-66
lines changed

2 files changed

+66
-66
lines changed

boardesp/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ user1.bin: obj/proxy.o obj/elm327.o obj/webserver.o obj/sha.o obj/rsa.o
5050
$(OBJCP) --only-section .data -O binary a.out eagle.app.v6.data.bin
5151
$(OBJCP) --only-section .rodata -O binary a.out eagle.app.v6.rodata.bin
5252
$(OBJCP) --only-section .irom0.text -O binary a.out eagle.app.v6.irom0text.bin
53-
COMPILE=gcc python ./esp-open-sdk/ESP8266_NONOS_SDK_V1.5.4_16_05_20/tools/gen_appbin.py a.out 2 0 32 4 0
53+
COMPILE=gcc python2 ./esp-open-sdk/ESP8266_NONOS_SDK_V1.5.4_16_05_20/tools/gen_appbin.py a.out 2 0 32 4 0
5454
rm -f eagle.app.v6.*.bin
5555
mv eagle.app.flash.bin $@
5656
../crypto/sign.py $@ $@ $(CERT)
@@ -61,7 +61,7 @@ user2.bin: obj/proxy.o obj/elm327.o obj/webserver.o obj/sha.o obj/rsa.o
6161
$(OBJCP) --only-section .data -O binary a.out eagle.app.v6.data.bin
6262
$(OBJCP) --only-section .rodata -O binary a.out eagle.app.v6.rodata.bin
6363
$(OBJCP) --only-section .irom0.text -O binary a.out eagle.app.v6.irom0text.bin
64-
COMPILE=gcc python ./esp-open-sdk/ESP8266_NONOS_SDK_V1.5.4_16_05_20/tools/gen_appbin.py a.out 2 0 32 4 0
64+
COMPILE=gcc python2 ./esp-open-sdk/ESP8266_NONOS_SDK_V1.5.4_16_05_20/tools/gen_appbin.py a.out 2 0 32 4 0
6565
rm -f eagle.app.v6.*.bin
6666
mv eagle.app.flash.bin $@
6767
../crypto/sign.py $@ $@ $(CERT)

0 commit comments

Comments
 (0)