Frozen Code, the Docker way



  • 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



  • @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.


Log in to reply
 

Pycom on Twitter