Frozen module

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
Ephreal
Posts: 10
Joined: Tue Jan 15, 2019 1:41 pm

Frozen module

Post by Ephreal » Fri Mar 01, 2019 3:35 pm

Hi

I am looking at our micro python build and am trying to figure out how it works. I want to put our modules in to compiled (frozen) map. But still maintain a memzip folder also. Can this be done.

Also I cant seem to get it to compile my files in the folder I've set as the frozen folder.

I've set

Code: Select all

#define MICROPY_PY_BUILTINS_FROZENSET (1)
in my configport file and

Code: Select all

FROZEN_DIR = frozen
in my make file (my modules are in the frozen folder)

What do i need else ? I cannot find any usable example for me. (the esp8266) is way to integrated to give a simple understanding.

Regards

User avatar
dhylands
Posts: 3457
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Frozen module

Post by dhylands » Fri Mar 01, 2019 6:07 pm

You might want to look at ports/teensy.

memzip was originally created for teensy (frozen files didn't exist at the time) and it doesn't have a filesystem.

Post Reply