Replies: 4 comments 3 replies
-
In this situation at work we always freeze our python application into the compiled firmware as per: https://docs.micropython.org/en/latest/reference/manifest.html |
Beta Was this translation helpful? Give feedback.
-
@andrewleech After freezing, update the py file from the network to implement the FOTA function, and there will be multiple code files in flash. |
Beta Was this translation helpful? Give feedback.
-
Ok, you didn't mention you wanted ota firmware updates. |
Beta Was this translation helpful? Give feedback.
-
To manage the multiple code files, there was a similar question last week: Include some python files in esp32 image without rebuilding · micropython · Discussion #16145 vfsmerge was suggested. It may not (yet?) handle all the architectures you need. There are instructions for installing vfsmerge using poetry |
Beta Was this translation helpful? Give feedback.
-
Mirco python has bin and.py script file. When the equipment is produced on a large scale, how to quickly burn these two files at once? Are there any tools that can be used?
The hardware in use is ESP8266 ESP32 RP2040 STM32
Beta Was this translation helpful? Give feedback.
All reactions