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

    Frozen Code, the Docker way

    Scheduled Pinned Locked Moved Firmware
    esp32other
    2 Posts 2 Posters 114 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.
    • T Offline
      Thosch42
      last edited by

      Hi all!
      Just a simple question: Can one build a Firmware with frozen code, like described in the pycom-libraries, using this docker container?
      I run docker on Windows 10. I start the whole thing from a normal command line with

      docker run -rm -v %cd%:/opt/frozen -it goinvent/pycom-fw build LOPY sc_frozen_0_2_0
      

      The whole thing runs fine, until it comes to 'make':

      LINK mpy-cross
         text    data     bss     dec     hex filename
       146051   15528     872  162451   27a93 mpy-cross
      Use make SECURE=on [optionally SECURE_KEY ?= secure_boot_signing_key.pem] to enable Secure Boot and Flash Encryption mechanisms.
      Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
      make: *** No rule to make target 'release'.  Stop.
      mv: cannot stat '/tmp/*.tar.gz': No such file or directory
      

      So, is anyone out there, having this thing running 'out of the box'?

      Cheers,
      Thomas

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        gazmcghee @Thosch42
        last edited by

        @Thosch42 I'm working on this https://github.com/buzzware/pycom-docker-firmware-build
        I can't vouch for it being correct or the output being functional or running on Windows, but it does complete the build on my Mac.

        1 Reply Last reply Reply Quote 1

        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