Page 1 of 1

Esp 32!

Posted: Tue Nov 02, 2021 4:40 pm
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

Re: Esp 32!

Posted: Tue Nov 02, 2021 6:58 pm
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 :(

Re: Esp 32!

Posted: Wed Nov 03, 2021 8:25 am
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.

Re: Esp 32!

Posted: Wed Nov 03, 2021 8:31 am
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.

Re: Esp 32!

Posted: Wed Nov 03, 2021 4:45 pm
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.

Re: Esp 32!

Posted: Wed Nov 03, 2021 4:54 pm
by medelec35
That's excellent.
Sounds like it's going to work on hardware as well.