Commit 6b942d9
authored
Better fix for esp32_exception_decoder missing space (platformio#831)
Recent versions of ESP-IDF have a bug in which the Backtrace: line is
malformed.
Old/Good: Backtrace: 0xN:0xM 0xN:0xM 0xN:0xM ...
New/Bad: Backtrace:0xN:0xM0xN:0xM 0xN:0xM ...
I issued espressif/esp-idf#9138 against
ESP-IDF to fix the underlying problem, but it is unclear when or if
that PR will be accepted, especially since the monitor program in
ESP-IDF is immune to the problem.
By using a decoding technique similar to the one in ESP-IDF's monitor,
either backtrace format can be accepted.
Supersedes platformio#687 , which does not quite work, in that it misses one of
the entries.1 parent 98aef9b commit 6b942d9
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments