embassy-rs / embassy

Modern embedded framework, using Rust and async.
https://embassy.dev
Apache License 2.0
5.64k stars 781 forks source link

Generalize AtomicWaker #3559

Closed bugadani closed 4 days ago

bugadani commented 4 days ago

Multi-core systems might want to use different locks than a critical section. While AtomicWaker isn't too complex, I'm hoping we don't need to duplicate it.

bugadani commented 4 days ago
 ERROR teleprobe::client > WARN - send_jtag_command 242 failed: SwdApWdataError
ERROR - Run failed: An ARM specific error occurred.

Caused by:
    0: The debug probe encountered an error.
    1: An error which is specific to the debug probe in use occurred.
    2: Command failed with status SwdApWdataError

Lol is this issue is spreading? I've seen it over at probe-rs, so it hopped over? :)