rust-embedded / cortex-m

Low level access to Cortex-M processors
Apache License 2.0
835 stars 152 forks source link

Remove nomem flag from isb, dsb and dmb #527

Closed jannic closed 7 months ago

jannic commented 7 months ago

Probably not as important on 0.7 as on the main branch: The precompiled functions are not affected, and the inline ones are protected by additional compiler_fence calls, so the compiler can't reorder anyway. Still better to conform to the reference and not use nomem on assembly blocks that are used for synchronization.

Fixes #502