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 py: Add global default_emit_opt variable to make emit kind persistent. 2019-08-28 12:47:58 +10:00
hwapi examples: hwconfig_console: Add .on()/.off() methods. 2017-10-09 00:22:30 +03:00
network examples/http_client: Use read() instead of readall(). 2016-11-14 00:24:45 +03:00
unix examples/unix/ffi_example: Clean up and update the ffi example. 2018-10-23 11:50:39 +11:00
accel_i2c.py
accellog.py examples/accellog.py: Change 1: to /sd/, and update comment about FS. 2016-11-18 17:00:54 +11:00
asmled.py
asmsum.py
conwaylife.py various: Spelling fixes 2017-05-29 11:36:05 +03:00
ledangle.py
mandel.py
micropython.py
pins.py all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
pyb.py
switch.py