Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Using custom firmware as frozen firmware

    Scheduled Pinned Locked Moved Enhancements
    2 Posts 2 Posters 144 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      eranroll
      last edited by

      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.

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tom.mcadam @eranroll
        last edited by

        @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

        1 Reply Last reply Reply Quote 0

        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
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom