Commit 201d5fa
committed
Fix platform deps for ESP-IDF v5.0
Compilation fails with ESP-IDF v5.x. The function `uxPortCompareSet`,
used here by `tm_internal::atomicSwapBool`, was removed in ESP-IDF v5.0.
This fix uses the new functions in `esp_cpu.h` instead.
See #59 for more info.1 parent 3b90c26 commit 201d5fa
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
202 | 207 | | |
203 | 208 | | |
204 | 209 | | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
208 | 219 | | |
209 | 220 | | |
210 | 221 | | |
| |||
0 commit comments