Setting up firmware for production
Posted: Wed Oct 18, 2023 5:52 pm
Hello,
We recently finished development of a new board based on ESP32-S3 and were seeking to move it to production. We don't have a very robust production setup just yet. I have to setup our project to move to production from our development environment.
Since I am very inexperienced with projects like this I just wanted to ask for some guidance on how to set up a production environment for a smaller scale.
I was thinking of setting up a bash script and bundle it with the build folder but I am not sure if that would work. Do I need a full idf install with idf.py?
Are there any flashing tools where I can just provide the bin files to the script and it will flash them?
Can I still flash over UART if I use pre generated keys?
I understand I would have to use espefuse.py to set the keys in efuse. Can that key be changed afterwards?
I also want to confirm, except for flash encryption, turning off logging and secure boot, is there anything else I should check before I make a build for release?
Any help on any question would be appreciated!
We recently finished development of a new board based on ESP32-S3 and were seeking to move it to production. We don't have a very robust production setup just yet. I have to setup our project to move to production from our development environment.
Since I am very inexperienced with projects like this I just wanted to ask for some guidance on how to set up a production environment for a smaller scale.
- What tools should I use for flashing?
I was thinking of setting up a bash script and bundle it with the build folder but I am not sure if that would work. Do I need a full idf install with idf.py?
Are there any flashing tools where I can just provide the bin files to the script and it will flash them?
- How should I handle flash encryption?
Can I still flash over UART if I use pre generated keys?
I understand I would have to use espefuse.py to set the keys in efuse. Can that key be changed afterwards?
- How should I setup my git releases
I also want to confirm, except for flash encryption, turning off logging and secure boot, is there anything else I should check before I make a build for release?
Any help on any question would be appreciated!