Page 2 of 3

Re: ESP32-S2 FCDX request

Posted: Tue Dec 13, 2022 3:56 pm
by lucibel
dear Ben,
release/v5.0 installed

Should I test it on Flowcode or wait your next message?

Re: ESP32-S2 FCDX request

Posted: Wed Dec 14, 2022 11:13 am
by BenR
Hi Seb,

It's not currently working due to the I/O problems I've discovered. I'll try and make more progress on this soon, hopefully tomorrow.

Re: ESP32-S2 FCDX request

Posted: Wed Dec 14, 2022 4:57 pm
by lucibel
Hi Ben,
thx for your feedback.
Indeed, I did compilation test with V5.0 and failed.

However, install new a IDF version with command below is working well.

Code: Select all

git fetch
git checkout release/v5.0
git pull
git submodule update -f --init --recursive
install.bat

idf_tools.py uninstall                          from esp-idf\tools\ directory
idf_tools.py uninstall --remove-archives        from esp-idf\tools\ directory   to remove also archives    
idf_tools.py uninstall was not working for me because my directories are not same as yours
5.0.png
5.0.png (10.13 KiB) Viewed 3278 times
To switch back to 4.1 version,

First need to update Git because switch command was introduced in version 2.23 as an attempt to simplify the process.

Code: Select all

git update-git-for-windows
Now the current git version is 2.39.0
then, like you said, following command can be used

Code: Select all

git switch -f release/v4.1

Code: Select all

git fetch
git checkout release/v4.1
git pull
git submodule update -f --init --recursive
install.bat
4.1.png
4.1.png (8.12 KiB) Viewed 3278 times
I did a lot of testing and compilation after reverting to version 4.1, it work very well to switch between versions.
like you said,
For existing projects you will have to remove the cache directory located in the same folder as the Flowcode project file to force a complete recompile.
To check idf,Git and python version

Code: Select all

idf.py --version
git --version
python -–version
To check ESPTOOL version installed. Last version is 4.4

Code: Select all

pip3 show esptool 
Thx

Re: ESP32-S2 FCDX request

Posted: Tue Dec 20, 2022 1:44 pm
by lucibel
hello Ben,
What are the news ?

Re: ESP32-S2 FCDX request

Posted: Wed Dec 21, 2022 4:17 pm
by lucibel
still no news ?

Re: ESP32-S2 FCDX request

Posted: Fri Dec 23, 2022 9:23 am
by BenR
Hi Seb,

Sorry I've been trying to get a few projects off my desk before the holidays, I started to look into this one and the IO problem currently has me stumped. We could just call the public IO functions but these were very slow compared with accessing the registers directly. Something in the IDF has changed to do with the IO registers and I don't want to go backwards in terms of speed/efficiency so I'll keep chipping away at it. Hopefully have more news for you shortly.

Re: ESP32-S2 FCDX request

Posted: Fri Dec 23, 2022 3:57 pm
by lucibel
Thx for you answer Ben
Hope you will find a way ASAP after holidays !

Re: ESP32-S2 FCDX request

Posted: Mon Jan 09, 2023 9:50 am
by BenR
Hello,

I'll have another crack at this tomorrow, hopefully making some progress now but there's lots on atm so having to divide my time.

Re: ESP32-S2 FCDX request

Posted: Thu Jan 19, 2023 2:11 pm
by lucibel
hello Ben,
what are the news and status ?

Re: ESP32-S2 FCDX request

Posted: Thu Jan 19, 2023 3:35 pm
by BenR
Hello Seb,

Sorry I've put this on hold for the moment as we are launching Flowcode v10 very soon and there are a few tasks that need to be completed. As soon as this is out the way I'll have some more time to properly investigate this for you.