ESP32 Firmware Protect

For general Flowcode discussion that does not belong in the other sections.
Post Reply
dvcam99
Posts: 109
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 9 times
Been thanked: 14 times

ESP32 Firmware Protect

Post by dvcam99 »

Hello Flow Code Community,

a short question for ESP32. Is there a way to protect my firmware on this chip? In my old PIC days I did it via the compiler chip setting inside FC.

BR

Dirk
Happy FC9, FC-8 and FC-6 professional user ;)

mnfisher
Valued Contributor
Posts: 1856
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 154 times
Been thanked: 876 times

Re: ESP32 Firmware Protect

Post by mnfisher »

Yes..

Go into menuconfig -> Security features.

After reading:

https://docs.espressif.com/projects/esp ... ption.html

Martin

dvcam99
Posts: 109
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 9 times
Been thanked: 14 times

Re: ESP32 Firmware Protect

Post by dvcam99 »

Many thanks Martin,

it looks a bit more complex then I thought. It seems that I have to Update my ESP‑IDF from 4.x to 5.x.

Are there any issues involved in relation to Flow Code with such a ESP‑IDF Update?

BR

Dirk
Happy FC9, FC-8 and FC-6 professional user ;)

mnfisher
Valued Contributor
Posts: 1856
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 154 times
Been thanked: 876 times

Re: ESP32 Firmware Protect

Post by mnfisher »

I've not encountered any - I'm currently using v5.5 - and so far no problems...

There have been issues with installing versions - which, luckily, i seem to have avoided - I've always found running the online installer and then the install.bat (in the framework directory) had been good - but back everything up first! One issue is that you will need to rebuild everything - use idf.py fullclean (or delete the build directory) and then rebuild to get things going

Martin

Post Reply