diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-03-29 22:28:36 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-03-29 22:28:36 +0200 |
| commit | d938b95430d543d8a97e611642ef09d803b7bdc1 (patch) | |
| tree | 3805f3153072cf7329b3b2c45b296c84e8847c2d /embassy-rp/src | |
| parent | 4371302da87f7fad4649c0ef4eade9432dc94529 (diff) | |
rp: add precompiled boot2 to avoid depending on gcc
Diffstat (limited to 'embassy-rp/src')
| -rw-r--r-- | embassy-rp/src/boot2.bin | bin | 0 -> 256 bytes | |||
| -rw-r--r-- | embassy-rp/src/system.rs | 4 |
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 @@ | |||
| 1 | use crate::{pac, pll, resets}; | 1 | use crate::{pac, pll, resets}; |
| 2 | 2 | ||
| 3 | #[link_section = ".boot2"] | ||
| 4 | #[used] | ||
| 5 | pub static BOOT2: [u8; 256] = *include_bytes!("boot2.bin"); | ||
| 6 | |||
| 3 | #[non_exhaustive] | 7 | #[non_exhaustive] |
| 4 | pub struct Config {} | 8 | pub struct Config {} |
| 5 | 9 | ||
