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