1 Bundling and deploying application code and files
Andrew Leech edytuje tę stronę 2024-03-25 09:03:45 +11:00

During development, tools like mpremote are fantastic for quickly running code on a micropython device.

Once an application is ready for release however you will often want your code to be bundled into the firmware for easy deployment.

The official way to achieve this is called freezing.

Code freezing however only works with python file, to deploy other kinds of data or assets there are a number of different options (listed in no particular order):

Longer term this is intended to be an official way to deploy any kind of files: https://github.com/micropython/micropython/pull/8191