Skip to content

stmhal Frozen bytecode: no longer works with lib subdirectory #2892

@peterhinch

Description

@peterhinch

I have stmhal/modules/lib containing the uasyncio library. I have been building successfully with

make -j 8 BOARD=PYBV11 FROZEN_MPY_DIR=modules

Today, though it compiled the files

...
MPY modules/lib/uasyncio/test2.py
MPY modules/lib/uasyncio/core.py
MPY modules/lib/uasyncio/__init__.py
MPY modules/lib/uasyncio/test.py
MPY modules/lib/uasyncio/queues.py
MPY modules/lib/collections/deque.py
...

I can no longer import uasyncio at the REPL. Modules in stmhal/modules (i.e. not in the subdirectory) are OK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions