ntoll / uflash

A module and command to easily flash Python onto the BBC's micro:bit device.
http://micropython.org/
MIT License
101 stars 27 forks source link

Allow for script minification #44

Closed ntoll closed 6 years ago

ntoll commented 6 years ago

There should be a flag (--minify and -m) that causes uflash to "minify" the Python script using various heuristics so it'll fit into the limited amount of memory available.

See: https://github.com/mu-editor/mu/pull/385 for an example of what I mean.