Search found 13 matches

by mmh
Thu Jan 26, 2017 12:08 am
Forum: ESP8266 boards
Topic: Using the tx/rx pins not for UART
Replies: 42
Views: 26143

Re: Using the tx/rx pins not for UART

I enhanced brads work/patch and added an explicit enable and disable control through a platform specific function esp.uart_nostdio(enable) when a 1 is passed it disables the uart as stdio and when it is set to 0 it re-enables it. please review. diff --git a/esp8266/esp_mphal.c b/esp8266/esp_mphal.c ...
by mmh
Mon Jan 23, 2017 5:23 am
Forum: ESP8266 boards
Topic: Using the tx/rx pins not for UART
Replies: 42
Views: 26143

Re: Using the tx/rx pins not for UART

I used the code patch provided here and I'm curious if there is an intent to add it to the mainline of micropython, I choose to add a simple python function in espmodule to disable the uart programmaticly we should probably consider making it a toggle. I'm including my project blurb here which is ju...
by mmh
Sat Jan 21, 2017 4:38 pm
Forum: ESP8266 boards
Topic: Using the tx/rx pins not for UART
Replies: 42
Views: 26143

Re: Using the tx/rx pins not for UART

In the frame work of this discussion I would like to propose that we route mp_hal_debug_rx_strn_cooked through mp_hal_stdout_tx_char instead of directly to the uart. In that way once we have a networked device and our webrepl connection the diagnostics messages will appear on the networked console. ...