micropython/lib/utils
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent.
mp_compile no longer takes an emit_opt argument, rather this setting is now
provided by the global default_emit_opt variable.

Now, when -X emit=native is passed as a command-line option, the emitter
will be set for all compiled modules (included imports), not just the
top-level script.

In the future there could be a way to also set this variable from a script.

Fixes issue #4267.
2019-08-28 12:47:58 +10:00
..
gchelper.h
gchelper_m0.s
gchelper_m3.s
interrupt_char.c lib/utils/interrupt_char: Invalidate interrupt char at start up. 2019-05-01 12:41:07 +10:00
interrupt_char.h
mpirq.c
mpirq.h
printf.c
pyexec.c py: Add global default_emit_opt variable to make emit kind persistent. 2019-08-28 12:47:58 +10:00
pyexec.h
stdout_helpers.c
sys_stdio_mphal.c lib/utils/sys_stdio_mphal: Add support to poll sys.stdin and sys.stdout. 2019-07-01 17:10:12 +10:00