circuitpython/ports/bare-arm
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
..
Makefile ports/{bare-arm,minimal}/Makefile: Only build with core source files. 2018-02-22 12:48:51 +11:00
main.c py: Add global default_emit_opt variable to make emit kind persistent. 2019-08-28 12:47:58 +10:00
mpconfigport.h py/objdict: Make .fromkeys() method configurable. 2018-12-13 01:20:55 +11:00
mphalport.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
qstrdefsport.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
stm32f405.ld ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00