Skip to content

Commit

Permalink
bugfix(flasher stub): Fix stability issues when increasing CPU frequency
Browse files Browse the repository at this point in the history
Closes #808

Thanks to @fennecbutt, @Emill, and @stefanounick for the implementation and testing
  • Loading branch information
radimkarnis committed Jan 5, 2023
1 parent 1d34837 commit f37f384
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions esptool/targets/stub_flasher/stub_flasher_32c3.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"entry": 1077413538,
"text": "QREixCbCBsa3NwRgEUc3RMg/2Mu3NARgEwQEANxAkYuR57JAIkSSREEBgoCIQBxAE3X1D4KX3bcBEbcHAGBOxoOphwBKyDdJyD8mylLEBs4izLcEAGB9WhMJCQDATBN09D8N4PJAYkQjqDQBQknSRLJJIkoFYYKAiECDJwkAE3X1D4KXfRTjGUT/yb8TBwAMlEGqh2MY5QCFR4XGI6AFAHlVgoAFR2OH5gAJRmONxgB9VYKAQgUTB7ANQYVjlecCiUecwfW3kwbADWMW1QCYwRMFAAyCgJMG0A19VWOV1wCYwRMFsA2CgLd1yT9BEZOFhboGxmE/Y0UFBrd3yT+ThweyA6cHCAPWRwgTdfUPkwYWAMIGwYIjktcIMpcjAKcAA9dHCJFnk4cHBGMe9wI398g/EwcHsqFnupcDpgcItzbJP7d3yT+Thweyk4YGtmMf5gAjpscII6DXCCOSBwghoPlX4wb1/LJAQQGCgCOm1wgjoOcI3bc3JwBgfEudi/X/NzcAYHxLnYv1/4KAQREGxt03tycAYCOmBwI3BwAImMOYQ33/yFeyQBNF9f8FiUEBgoBBEQbG2T993TcHAEC3JwBgmMM3JwBgHEP9/7JAQQGCgEERIsQ3RMg/kwdEAUrAA6kHAQbGJsJjDQkERTcxyb1HEwREAYFEY9YnAQREvYiTtBQAfTeFPxxENwcAAROWxwBjf+YAtwaAAJngtwYAATcnAGBQwxTDtyYAYJhCff9BR5HgBUczCelAupcjKCQBHMSyQCJEkkQCSUEBgoABEQbOIswN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sAA8crABOMiwGiB9mPE40H/wVEt3vJP9xEYwUNAJnDY0yAAGNQBAoTB3AM2MjjnweokweQDGGok4cLu5hDt/fIP5OHB7KZjz7WgyeKsLd8yD9q0JOMTAGTjQu7BUhjc/0ADUhCxjrE7/APxCJHMkg3Rcg/4oV8EJOGCrIQEBMFxQKX8Mf/54CANIJXA6eMsIOlDQAzDf1AHY8+nLJXI6TssCqEvpUjoL0Ak4cKsp2NAcWhZ+OS9fZahe/wj88joG0Bmb8t9OODB6CTB4AM3Mj1uoOniwDjmwee7/DP2gllEwUFcZfwx//ngCAk7/CP1Zfwx//ngGAn0boDpMsA4wcEnO/wT9gTBYA+l/DH/+eAwCHv8C/TApRVuu/wr9L2UGZU1lRGWbZZJlqWWgZb9ktmTNZMRk22TQlhgoAAAA==",
"text_start": 1077411840,
"data": "IGvIPywKOEB8CjhA1Ao4QHgLOEDkCzhAkgs4QPgIOEA0CzhAdAs4QOgKOECoCDhAHAs4QKgIOEAGCjhATAo4QHwKOEDUCjhAGAo4QFwJOECMCThAFAo4QDYOOEB8CjhA/Aw4QO4NOEDoBzhAFg44QOgHOEDoBzhA6Ac4QOgHOEDoBzhA6Ac4QOgHOEDoBzhAmAw4QOgHOEAaDThA7g04QA==",
"data": "IGvIPzoKOECKCjhA4go4QIYLOEDyCzhAoAs4QAYJOEBCCzhAggs4QPYKOEC2CDhAKgs4QLYIOEAUCjhAWgo4QIoKOEDiCjhAJgo4QGoJOECaCThAIgo4QEQOOECKCjhACg04QPwNOED2BzhAJA44QPYHOED2BzhA9gc4QPYHOED2BzhA9gc4QPYHOED2BzhApgw4QPYHOEAoDThA/A04QA==",
"data_start": 1070164912
}
Loading

0 comments on commit f37f384

Please sign in to comment.