micropython/ports
David Lechner 62849b7010 py: Add config option to print warnings/errors to stderr.
This adds a new configuration option to print runtime warnings and errors to
stderr. On Unix, CPython prints warnings and unhandled exceptions to stderr,
so the unix port here is configured to use this option.

The unix port already printed unhandled exceptions on the main thread to
stderr. This patch fixes unhandled exceptions on other threads and warnings
(issue #2838) not printing on stderr.

Additionally, a couple tests needed to be fixed to handle this new behavior.
This is done by also capturing stderr when running tests.
2017-09-26 11:59:11 +10:00
..
bare-arm
cc3200
esp8266
minimal
pic16bit
qemu-arm
stm32 stm32/timer: Enable ARPE so that timer freq can be changed smoothly. 2017-09-25 15:25:08 +10:00
teensy
unix py: Add config option to print warnings/errors to stderr. 2017-09-26 11:59:11 +10:00
windows
zephyr