micropython/examples
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
..
SDdatalogger
embedding
hwapi
network
unix
accel_i2c.py
accellog.py
asmled.py
asmsum.py
conwaylife.py
ledangle.py
mandel.py Small edits to examples to get them working again with unix/micropython. 2014-01-24 22:26:13 +00:00
micropython.py
pins.py
pyb.py
switch.py