Compile ESP8266 firmware, tries to upload firmware? Is there an option or configuration file I can set to stop this from being attempted, or am I reading the output wrong? I am setting up everything in a virtual machine, and plan to copy bin files to a different system. So I just want to compile the given port and be done at this point, don't want esptool.py script to attempt to run.
LINK build-GENERIC/firmware.elf
text data bss dec hex filename
631984 996 66376 699356 aabdc build-GENERIC/firmware.elf
Create build-GENERIC/firmware-combined.bin
File "/home/crosstoolng/esp-open-sdk/xtensa-lx106-elf/bin/esptool.py", line 128
print 'Connecting...'
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Connecting...')?
make: *** [Makefile:216: build-GENERIC/firmware-combined.bin] Error 1
Compile ESP8266 firmware, tries to upload firmware?
-
- Posts: 144
- Joined: Mon Jul 25, 2022 9:45 pm
Re: Compile ESP8266 firmware, tries to upload firmware?
What make command line are you using?
Does it have "deploy" on the end (if so, remove it).
-
- Posts: 144
- Joined: Mon Jul 25, 2022 9:45 pm
Re: Compile ESP8266 firmware, tries to upload firmware?
No, no deploy, it is an odd error in the older version of esptool.py I had, and did not realize initially how old the esptool.py version was. The error was misleading, it was just outdated, a syntax issue in python script code that happen to fail at or in the 'deploy' logic of the script. The script was python2 based, and python3 was choking on it.