embassy/embassy-stm32
Liam Murphy 079526559f Remove critical sections from PeripheralMutex interrupt handler by checking the interrupt's priority on startup.
Since `PeripheralMutex` is the only way to safely maintain state across interrupts, and it no longer allows setting the interrupt's priority, the priority changing isn't a concern.

This also prevents other causes of UB due to the interrupt being exposed during `with`, and allowing enabling the interrupt and setting its context to a bogus pointer.
2021-07-27 17:28:52 +10:00
..
src Remove critical sections from PeripheralMutex interrupt handler by checking the interrupt's priority on startup. 2021-07-27 17:28:52 +10:00
.pep8 USART codegen 2021-04-25 22:35:51 +02:00
build.rs Use macrotables from build.rs 2021-06-07 05:12:10 +02:00
Cargo.toml Remove paste. 2021-06-30 09:44:28 -04:00
gen_features.py Update features to include F0 2021-06-22 14:41:42 -03:00
gen.py Checkpoint with lifetime issues. 2021-06-29 11:01:57 -04:00