Page 1 of 4
ESP32 not compling to chip
Posted: Tue Dec 08, 2020 3:45 pm
by DAVIDJOINER
Hi
Trying out ESP32S compilation to chip but it fails
1. Have included the compiler status file
2. Also screen showing the default storage for the compiler etc
3 Note i can see the new com port is there okay so it can see the chip okay
Appears something may be mixed up in the directories as appears cannot find the the file ?
Have not included the program as for test purposes merely " begin" and "end "
Can you advise
David
Re: ESP32 not compling to chip
Posted: Tue Dec 08, 2020 3:49 pm
by DAVIDJOINER
Hi
Please find second attachment again as didn't appear to go with first report for some reason
David
Re: ESP32 not compling to chip
Posted: Tue Dec 08, 2020 4:02 pm
by DAVIDJOINER
Hi
Attachment 2 but zipped this time to reduce size
DAVID
Re: ESP32 not compling to chip
Posted: Tue Dec 08, 2020 4:27 pm
by LeighM
Looks like the ESP toolchain is not fully installed.
These instructions should help ...
https://www.flowcode.co.uk/wiki/images/ ... ctions.pdf
Re: ESP32 not compling to chip
Posted: Tue Dec 08, 2020 4:45 pm
by Steve-Matrix
DAVIDJOINER wrote: ↑Tue Dec 08, 2020 4:02 pm
Attachment 2 but zipped this time to reduce size
For future reference, the messages from compilation are automatically saved to a text file in the same folder as the Flowcode project (in your case, it would be "C:\Users\david main\Documents\Flowcode1.msg.txt"). Attaching that would probably be easier than creating a screen grab.
Re: ESP32 not compling to chip
Posted: Tue Dec 08, 2020 5:19 pm
by DAVIDJOINER
hI
Followed installation instructions again but appear to be getting same results getting same results
Note file is now called TESTPROG1
DAVID
Re: ESP32 not compling to chip
Posted: Thu Dec 10, 2020 3:05 pm
by LeighM
Do you have an "ESP-IDF Command Prompt (cmd.exe)" on your desktop?
If so, can you run it.
Then type idf.py and press enter.
Does the screen then have a list of commands?
Re: ESP32 not compling to chip
Posted: Thu Dec 10, 2020 3:13 pm
by LeighM
Ah, also just spotted something else... "C:\Users\david main\Documents\"
"david main" could be the problem here.
Could you try creating the Flowcode project in a directory path that does not contain spaces.
Re: ESP32 not compling to chip
Posted: Thu Dec 10, 2020 4:33 pm
by DAVIDJOINER
HI
Ran the idf.py
ran okay and gave message
Done! you acan now compile ESP-IDE projects
GOto Project directory and run
idf.y build
But i am Not sure where what Project directory is ???
I also changed then changed the storing of the project to C:flowcode9 (ie no spaces)
have enclosed compiler msg file of latest run
David
Re: ESP32 not compling to chip
Posted: Thu Dec 10, 2020 4:42 pm
by LeighM
OK, thanks, if you can now try the following in the command prompt box ...
Code: Select all
cd C:\FLOWCODE9\ESP32_TEST5
idf.py build
Then see if it does a build, which takes several minutes.