diff options
author | Jos Verlinde <Jos_Verlinde@hotmail.com> | 2025-08-03 00:09:09 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-11 13:28:56 +1000 |
commit | 20e1ae07336a89e7054562a1bef26fae99802210 (patch) | |
tree | 48c81c2f5710042514964b5a7f150f2d9a28a19d /esp8266/scripts/ntptime.py | |
parent | 8c47ff7153a7a54eced6c8177698339abe4973ae (diff) |
tools/mpremote: Fix encoding error in PyboardCommand.
This is a fix for utf-8 decoding errors that are thrown when non-utf-8
content is received. For instance during a reboot of an ESP8266 module.
The fix is to handle conversion errors by replacing illegal characters.
Note that these illegal characters most often occur during an MCU reboot
sequence when the MCU is using baudrates different from 115200.
Signed-off-by: Jos Verlinde <Jos_Verlinde@hotmail.com>
Diffstat (limited to 'esp8266/scripts/ntptime.py')
0 files changed, 0 insertions, 0 deletions