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 stm32: Move gchelper assembler code to lib/utils for use by other ports. 2019-02-12 14:11:21 +11:00
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 all: Unify header guard usage. 2017-07-18 11:57:39 +10:00
mpirq.c lib/utils: Add generic MicroPython IRQ helper functions. 2018-12-29 17:08:55 +11:00
mpirq.h lib/utils: Add generic MicroPython IRQ helper functions. 2018-12-29 17:08:55 +11:00
printf.c lib/utils/printf: Exclude __GI_vsnprintf alias for gcc 9 and above. 2019-02-06 01:12:51 +11:00
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 various: Spelling fixes 2017-05-29 11:36:05 +03:00
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