Using custom firmware as frozen firmware
-
Hi,
I would like to create a release from the pycom-micropython-sigfox repository, which will already run my own files as frozen modules.
I have a main.py, boot.py and lib/ which I am currently loading using the PyMakr, but I want it to be part of the tar I am using to update firmware to my W01 OEM module.I have added my files to pycom-micropython-sigfox/esp32/frozen/custom, but it doesn't seem to load the files after I update to the release firmware I had created.
Am I missing something?
Best wishes,
Eran. -
The way we do it is put the files and sub-folders from the /lib folder into pycom-micropython-sigfox/esp32/frozen/Custom. main.py and boot.py get renamed to _main.py and _boot.py and go into pycom-micropython-sigfox/esp32/frozen/Base.
It then boots using are custom boot and main and has access to the libraries in Custom.
Tom
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login