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 lib/utils/gchelper: Add gchelper.h header file for assembler functions. 2019-02-12 14:37:41 +11:00
gchelper_m0.s
gchelper_m3.s lib/utils/gchelper_m3: Add gc_helper_get_sp() function. 2019-02-12 14:37:01 +11:00
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 lib/utils/pyexec: Add pyexec_file_if_exists() helper function. 2019-04-26 15:21:09 +10:00
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