Skip to content

Commit 0e7707a

Browse files
Fix shims for v8m.main
1 parent a357297 commit 0e7707a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

asm/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ shims! {
7373
fn __wfi();
7474
}
7575

76-
#[cfg(armv7m)]
76+
// v7m *AND* v8m.main, but *NOT* v8m.base
77+
#[cfg(any(armv7m, armv8m_main))]
7778
shims! {
7879
fn __basepri_max(val: u8);
7980
fn __basepri_r() -> u8;

0 commit comments

Comments
 (0)