{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/744","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/744/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/744/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/744/events","html_url":"https://github.com/esp8266/Arduino/issues/744","id":104639181,"number":744,"title":"Serial.swap() cannot swap back on ESP01","user":{"login":"luc-github","id":8822552,"avatar_url":"https://avatars.githubusercontent.com/u/8822552?v=3","gravatar_id":"","url":"https://api.github.com/users/luc-github","html_url":"https://github.com/luc-github","followers_url":"https://api.github.com/users/luc-github/followers","following_url":"https://api.github.com/users/luc-github/following{/other_user}","gists_url":"https://api.github.com/users/luc-github/gists{/gist_id}","starred_url":"https://api.github.com/users/luc-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luc-github/subscriptions","organizations_url":"https://api.github.com/users/luc-github/orgs","repos_url":"https://api.github.com/users/luc-github/repos","events_url":"https://api.github.com/users/luc-github/events{/privacy}","received_events_url":"https://api.github.com/users/luc-github/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-03T07:41:03Z","updated_at":"2015-09-09T10:10:53Z","closed_at":null,"body":"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.\r\n\r\nwhat ever I do to hide it, it display this output when restarting:\r\n```\r\n ets Jan  8 2013,rst cause:1, boot mode:(3,7)\r\n\r\nload 0x4010f000, len 1264, room 16 \r\ntail 0\r\nchksum 0x42\r\ncsum 0x42\r\n~ld\r\n```\r\n\r\nI tried :\r\n\r\n```Serial.end();``` before ```ESP.restart();``` and doing nothing\r\nI set ```system_set_os_print(0);``` and ```Serial1.setDebugOutput(true);``` still have the anoying output\r\n\r\nI 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\r\n\r\nIs there any way to hide this kind of output on ESP01 to get a clean restart ?\r\n\r\nThanks in advance\r\n"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/138863611","html_url":"https://github.com/esp8266/Arduino/issues/744#issuecomment-138863611","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/744","id":138863611,"user":{"login":"igrr","id":4349050,"avatar_url":"https://avatars.githubusercontent.com/u/4349050?v=3","gravatar_id":"","url":"https://api.github.com/users/igrr","html_url":"https://github.com/igrr","followers_url":"https://api.github.com/users/igrr/followers","following_url":"https://api.github.com/users/igrr/following{/other_user}","gists_url":"https://api.github.com/users/igrr/gists{/gist_id}","starred_url":"https://api.github.com/users/igrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrr/subscriptions","organizations_url":"https://api.github.com/users/igrr/orgs","repos_url":"https://api.github.com/users/igrr/repos","events_url":"https://api.github.com/users/igrr/events{/privacy}","received_events_url":"https://api.github.com/users/igrr/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T10:10:53Z","updated_at":"2015-09-09T10:10:53Z","body":"Okay, i had trouble understanding what you mean by \"serial is crashing\". Apparently nothing is crashing, just the IOSWAP is not reset along with the core, and serial continues to run on pins 13/15 after reset. Fix coming up."}}