Skip to content

Serial.swap() cannot swap back on ESP01 #744

@luc-github

Description

@luc-github

I do not want any system message when doing a restart (ESP.restart();) because any garbage on serial may affect the host connected on serial currently a 3D Printer.

what ever I do to hide it, it display this output when restarting:

 ets Jan  8 2013,rst cause:1, boot mode:(3,7)

load 0x4010f000, len 1264, room 16 
tail 0
chksum 0x42
csum 0x42
~ld

I tried :

Serial.end(); before ESP.restart(); and doing nothing
I set system_set_os_print(0); and Serial1.setDebugOutput(true); still have the anoying output

I tried Serial.swap() which does the trick but then it also crash the Serial completly so I loose the serial after restart,only a unplug/replug recover it. I guess it is because no GPIO15/13 on ESP01

Is there any way to hide this kind of output on ESP01 to get a clean restart ?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions