SOLVED. print() doesnt echo in ESP8266 daily builds

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
VladVons
Posts: 19
Joined: Sun Feb 12, 2017 6:49 pm
Location: Ukraine

SOLVED. print() doesnt echo in ESP8266 daily builds

Post by VladVons » Wed Jun 06, 2018 7:19 am

I didnt notice such problem in 1.9.3-XXX
in terminal 1.9.4-XXX builds there is no print output from a *.py, but in REPL everething is ok.

Code: Select all

#boot.py:
print('Hello') # no output

MicroPython v1.9.4-119......
>>> print('Hello') # output ok
Hello
Last edited by VladVons on Thu Jun 07, 2018 5:56 am, edited 1 time in total.


VladVons
Posts: 19
Joined: Sun Feb 12, 2017 6:49 pm
Location: Ukraine

Re: print() doesnt echo in ESP8266 daily builds

Post by VladVons » Wed Jun 06, 2018 10:35 pm

How to fix it?

daily builds mostly used by developers/testers and any print information is important.
what is the reason to silent the print()?
other info functions dont work too.
micropython.mem_info() etc...

VladVons
Posts: 19
Joined: Sun Feb 12, 2017 6:49 pm
Location: Ukraine

SOLVED. print() doesnt echo in ESP8266 daily builds

Post by VladVons » Thu Jun 07, 2018 5:54 am

Found the problem.

in earlier build versions there was not line

Code: Select all

uos.dupterm(machine.UART(0, 115200), 1)
i just owerrided boot.py with my edition with no uos.dupterm

Post Reply