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.



  • @eranroll

    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


Log in to reply
 

Pycom on Twitter