Commit 9ec4762
committed
Disable IRQs on RP2040 during HW division
The divider is a shared HW resource, and when an IRQ comes in (i.e.
when a packet is processed by LWIP and the user's callbacks) its state can
be corrupted silently and randomly.
Change the Pico-SDK defaults to disable IRQs during division operations,
avoiding the issue by disallowing the LWIP callback to happen until after
division is completed.
Fixes #32121 parent 14aef19 commit 9ec4762
File tree
11 files changed
+3
-0
lines changed- lib
- rp2040
- rp2350-riscv
- rp2350
- tools/libpico
11 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments