Page 1 of 1

Frozen modules in uPython version 1.12

Posted: Fri Feb 28, 2020 9:13 am
by lnsri22
Hello Everyone!!

I have been trying to find a folder named module to put up my frozen modules.

Unfortunately there is no such folder as it were in 1.11

How do I get this done?

Thanks

Re: Frozen modules in uPython version 1.12

Posted: Fri Feb 28, 2020 1:50 pm
by jimmo
The mechanism for freezing modules was updated in 1.12 to the new "manifest" system.

Look in ports/stm32/manifest.py (or the equivalent on esp32 or esp8266).

The idea is that you define your own board definition which inherits from the base manifest, rather than just having random files added to the main repo's module's directory, see ports/esp32/boards/TINYPICO for an example.

Also see https://github.com/peterhinch/micropyth ... -manifests

Re: Frozen modules in uPython version 1.12

Posted: Sun Mar 08, 2020 12:21 pm
by lnsri22
Thanks Jimmo,

Got it working!!