ESP32 not compling to chip

Any bugs you encounter with Flowcode should be discussed here.
DAVIDJOINER
Posts: 140
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

ESP32 not compling to chip

Post 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
Attachments
Capture2.GIF
Capture2.GIF (102.23 KiB) Viewed 5512 times

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: ESP32 not compling to chip

Post by DAVIDJOINER »

Hi

Please find second attachment again as didn't appear to go with first report for some reason

David

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: ESP32 not compling to chip

Post by DAVIDJOINER »

Hi

Attachment 2 but zipped this time to reduce size




DAVID
Attachments
FILE2.zip
(280.93 KiB) Downloaded 190 times

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 73 times
Been thanked: 218 times

Re: ESP32 not compling to chip

Post by LeighM »

Looks like the ESP toolchain is not fully installed.
These instructions should help ...
https://www.flowcode.co.uk/wiki/images/ ... ctions.pdf

Steve-Matrix
Matrix Staff
Posts: 1269
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 168 times
Been thanked: 282 times

Re: ESP32 not compling to chip

Post 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.

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: ESP32 not compling to chip

Post by DAVIDJOINER »

hI

Followed installation instructions again but appear to be getting same results getting same results

Note file is now called TESTPROG1

DAVID
Attachments
Flowcode1.msg.txt
(2.3 KiB) Downloaded 185 times

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 73 times
Been thanked: 218 times

Re: ESP32 not compling to chip

Post 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?

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 73 times
Been thanked: 218 times

Re: ESP32 not compling to chip

Post 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.

DAVIDJOINER
Posts: 140
Joined: Wed Dec 02, 2020 7:35 pm
Been thanked: 18 times

Re: ESP32 not compling to chip

Post 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
Attachments
ESP32_TEST5.msg.txt
(1.96 KiB) Downloaded 178 times

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 73 times
Been thanked: 218 times

Re: ESP32 not compling to chip

Post 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.

Post Reply