We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c2dd99a + d54b6f0 commit 6d566b2Copy full SHA for 6d566b2
cortex-m-rt/examples/pre_init.rs
@@ -13,6 +13,9 @@ use rt::entry;
13
// For example, it can be used to disable the watchdog.
14
core::arch::global_asm! {
15
r#"
16
+.global __pre_init
17
+.type __pre_init,%function
18
+.thumb_func
19
__pre_init:
20
// Do what you need to do before RAM is initialized.
21
bx lr
0 commit comments