micropython/ports
Alex King 78302f7bb2 esp32/modesp: Add osdebug() function to disable or change IDF logging.
Code lineage:
osdebug() is based loosely on the version in esp8266, but there didn't
seem to be an obvious way of choosing a particular UART. The basic
behavior is the same, though: provide None, and logging is disabled;
provide an integer and logging is restored to the default level.

To build on that, and because the IDF provides more functionality, a
second parameter has now been implemented which allows the active log
level to be set:

   esp.osdebug(uart[, level])

The module has a corresponding set of LOG_ values to set this accordingly.
2017-12-13 14:48:53 +11:00
..
bare-arm all: Remove inclusion of internal py header files. 2017-10-04 12:37:50 +11:00
cc3200 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 2017-11-16 13:17:51 +11:00
esp32 esp32/modesp: Add osdebug() function to disable or change IDF logging. 2017-12-13 14:48:53 +11:00
esp8266 esp8266/modnetwork: Make sure to intern string passed to .config("param"). 2017-12-04 00:13:10 +02:00
minimal py/persistentcode: Bump .mpy version number to version 3. 2017-10-05 10:49:44 +11:00
pic16bit all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
qemu-arm lib/tinytest: Move from tools/tinytest. 2017-12-08 19:26:15 +02:00
stm32 stm32: Add support for using the Python stack. 2017-12-11 13:49:09 +11:00
teensy teensy: Get port compiling without any warnings. 2017-11-01 11:00:30 +11:00
unix unix: Add support for using the Python stack. 2017-12-11 13:49:09 +11:00
windows all: Update Makefiles and others to build with new ports/ dir layout. 2017-09-06 14:09:13 +10:00
zephyr zephyr/main: Move var declarations to the top of file. 2017-12-08 12:39:57 +02:00