-
Notifications
You must be signed in to change notification settings - Fork 421
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop random crashes while writing to flash (#730)
FreeRTOS SMP was updated to: a) Move ths SYSTICK handler, which cannot be disabled and can fire even with IRQs disabled, to RAM b) Add a flag from the core to the SYSTICK handler to hold off on any PendSV (task switch) calls while we are doing the idleOtherCore. The core now sets this flag, _holdPendSV, and adds add'l FreeRTOS SMP calls to really, really tell the OS we can't, don't, and better not be swapped out while writing to flash. Fixes #719
- Loading branch information
1 parent
bb029cc
commit 005cba3
Showing
5 changed files
with
26 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters