Reduce flash requirements by removing parser?
Posted: Fri Aug 10, 2018 3:28 pm
Hi,
I'm thinking about adding MicroPython support to another project. However, one issue is that it needs quite a lot of flash memory (about 256kB AFAIK). Is it possible to reduce the flash requirements by e.g. building micropython without the parser/compiler, i.e., .py files would be compiled into .mpy files before loading them into the target? If so, by how much does this reduce the required flash space? Also, are there any other ways to "slim down" MicroPython?
I'm thinking about adding MicroPython support to another project. However, one issue is that it needs quite a lot of flash memory (about 256kB AFAIK). Is it possible to reduce the flash requirements by e.g. building micropython without the parser/compiler, i.e., .py files would be compiled into .mpy files before loading them into the target? If so, by how much does this reduce the required flash space? Also, are there any other ways to "slim down" MicroPython?