You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the mp_fun_table in nativeglue.c is gated by MICROPY_EMIT_NATIVE. However, it appears other things are also gated on this, like NEED_METHOD_TABLE in compile.c, as well as e.g., py/emit*.c.
Is it possible to reduce the flash overhead of only enabling loading natmods from mpy files, without other things like the @micropython.native decorator? If there's not an existing configuration option for this, any guidance on which parts of EMIT_NATIVE are actually needed for this, so I can hack on it?
Ooh that's pretty much the pony I wanted. I was looking at circuitpython which is not too up to date. Thanks, something to look forward to when another merge from microPython is done someday.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Right now, the
mp_fun_tableinnativeglue.cis gated byMICROPY_EMIT_NATIVE. However, it appears other things are also gated on this, likeNEED_METHOD_TABLEin compile.c, as well as e.g.,py/emit*.c.Is it possible to reduce the flash overhead of only enabling loading natmods from mpy files, without other things like the
@micropython.nativedecorator? If there's not an existing configuration option for this, any guidance on which parts ofEMIT_NATIVEare actually needed for this, so I can hack on it?All reactions