aboutsummaryrefslogtreecommitdiff
path: root/embassy-rp/src
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-03-29 22:28:36 +0200
committerDario Nieuwenhuis <[email protected]>2021-03-29 22:28:36 +0200
commitd938b95430d543d8a97e611642ef09d803b7bdc1 (patch)
tree3805f3153072cf7329b3b2c45b296c84e8847c2d /embassy-rp/src
parent4371302da87f7fad4649c0ef4eade9432dc94529 (diff)
rp: add precompiled boot2 to avoid depending on gcc
Diffstat (limited to 'embassy-rp/src')
-rw-r--r--embassy-rp/src/boot2.binbin0 -> 256 bytes
-rw-r--r--embassy-rp/src/system.rs4
2 files changed, 4 insertions, 0 deletions
diff --git a/embassy-rp/src/boot2.bin b/embassy-rp/src/boot2.bin
new file mode 100644
index 000000000..fdc1fc756
--- /dev/null
+++ b/embassy-rp/src/boot2.bin
Binary files differ
diff --git a/embassy-rp/src/system.rs b/embassy-rp/src/system.rs
index 200f88d63..ba1396433 100644
--- a/embassy-rp/src/system.rs
+++ b/embassy-rp/src/system.rs
@@ -1,5 +1,9 @@
1use crate::{pac, pll, resets}; 1use crate::{pac, pll, resets};
2 2
3#[link_section = ".boot2"]
4#[used]
5pub static BOOT2: [u8; 256] = *include_bytes!("boot2.bin");
6
3#[non_exhaustive] 7#[non_exhaustive]
4pub struct Config {} 8pub struct Config {}
5 9