structuring modules for freezing into firmware
-
Hello all,
I have developed my app as 3 main modules in flash, and each module has folders inside them so code goes 1-3 levels deep ie module A might have a file at A.B.C
Now I would like to freeze them into a custom firmware as described here
https://github.com/pycom/pycom-libraries/tree/master/pycom-docker-fw-build
but I am worried by the sentence :"The Frozen code implementation might not support sub-directories in MicroPython code."
So does it support sub-directories or not?
Do I need to restructure all my code into modules without subdirectories?
-
Dear @gazmcghee,
"The Frozen code implementation might not support sub-directories in MicroPython code."
So does it support sub-directories or not?I was worried about that as well but I can well confirm everything works as intended. Our Terkin Datalogger contains modules with submodules [1] and freezing them works without any issue.
Saying this, we would like to mention we are working with 1.20.x.
With kind regards,
Andreas.[1] https://github.com/hiveeyes/terkin-datalogger/tree/master/src/lib/terkin
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