Esp 32!

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jgu1
Posts: 774
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 670 times
Been thanked: 173 times

Esp 32!

Post by jgu1 »

Hi Team!

On my new PC I try to make a project with an Esp32. I have like on my other Pc created a Lib for Flowcode9 where I save all my project and everything for FC9.

When I make a project and I want to compile my project, first time I compile it take long time to compile, I know tis is normal. But after finish comiling, There is created a new Libarary in the root, outside my FC9 lib. and this Lib is named Flowcode_9 and all the build files is placed there, the project I have made is with a ILI9341. It look like the Esp32 reboot every 4sec.

If I compile on my old Pc the build lib stay in my FC9 lib and the project work. Have I done something wrong during install FC9 or toolchain for Esp32 and what can I do, please?

Br Jorgen
Attachments
Lib.PNG
Lib.PNG (3.67 KiB) Viewed 4174 times

jgu1
Posts: 774
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 670 times
Been thanked: 173 times

Re: Esp 32!

Post by jgu1 »

Hi again!

Try to reinstall the Esp32 toolchain, now I get this message (att.) and the FC_9 is still created when I try to compile :(
Attachments
KorecompStortDispTripE.msg.txt
(1.7 KiB) Downloaded 466 times

LeighM
Valued Contributor
Posts: 447
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 81 times
Been thanked: 243 times

Re: Esp 32!

Post by LeighM »

Hi,
There's two problems.

Path to your Flowcode project should not contain spaces.
Although the build process will change spaces to underscores in the project name.

You have the wrong path for ESP in the Flowcode tools setup screen.
It should point to the location of the esp-idf directory.

medelec35
Matrix Staff
Posts: 1916
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 621 times
Been thanked: 644 times

Re: Esp 32!

Post by medelec35 »

Hi Jorgen.
What I would recommend is to uninstall again, Delete any remaining esp32 folders, then reinstall following this guide step-by-step.
Even using the same directories as the guide suggests, as it worked for me.
Make sure the correct path as shown in the guide is added to the Flowcode Global settings, Locations tab.
There are new revisions of ESP-IDF since the guide was created.
Don't use the latest versions as it causes the firmware to fail.
Sick as close to the versions stated as you can.

Edit: Leigh had beat me to it!
I would follow his post first and see if it works.
Last edited by medelec35 on Wed Nov 03, 2021 8:33 am, edited 1 time in total.
Reason: A new post has been created while I was typing this post.
Martin

jgu1
Posts: 774
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 670 times
Been thanked: 173 times

Re: Esp 32!

Post by jgu1 »

Hi Martin and Leigh!

I follow your advice and guide. Delete all concenring Esp, removed the space and reinstall Esptool with the nearest version.

Just perform a small testprogram and compile to HEX, (have no Esp32 rigth now, later )and it seemed to work, no extra Lib in root ect. Thank you both superman´s :lol:

Br jorgen.

medelec35
Matrix Staff
Posts: 1916
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 621 times
Been thanked: 644 times

Re: Esp 32!

Post by medelec35 »

That's excellent.
Sounds like it's going to work on hardware as well.
Martin

Post Reply