summaryrefslogtreecommitdiffstatshomepage
path: root/stm/printf.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-01-08 01:00:22 -0800
committerDave Hylands <dhylands@gmail.com>2014-01-11 16:16:20 -0800
commitd80ee8bbfd52fd44f623aabbef4544f9572aca9e (patch)
tree6af7aed612e1e335b47f5e36c5c792c9bb537dda /stm/printf.c
parentc698d266d1f13fe82a5ac291f7c6642da3dc0bdc (diff)
downloadmicropython-d80ee8bbfd52fd44f623aabbef4544f9572aca9e.tar.gz
micropython-d80ee8bbfd52fd44f623aabbef4544f9572aca9e.zip
Added memzip filesystem support for teensy
You can now append a zipfile (containining uncomressed python sources) to the micropython.hex file. Use MEMZIP_DIR=directory when you call make, or set that in your environment to include a different tree of source files. Added sample /boot.py, /src/main.py, /test.py and /src/test.py files. Added run command so that you can execute scripts from REPL (until import is implemented). Added build directory to .gitignore
Diffstat (limited to 'stm/printf.c')
-rw-r--r--stm/printf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/printf.c b/stm/printf.c
index 8a40a61a5f..fa94269257 100644
--- a/stm/printf.c
+++ b/stm/printf.c
@@ -221,10 +221,12 @@ void stdout_print_strn(void *data, const char *str, unsigned int len) {
bool any = false;
// TODO should have a setting for which USART port to send to
+#if 0 // if 0'd out so that we're not calling functions with the wrong arguments
if (usart_is_enabled()) {
usart_tx_strn_cooked(str, len);
any = true;
}
+#endif
if (usb_vcp_is_enabled()) {
usb_vcp_send_strn_cooked(str, len);