rp: add precompiled boot2 to avoid depending on gcc

This commit is contained in:
Dario Nieuwenhuis
2021-03-29 22:28:36 +02:00
parent 4371302da8
commit d938b95430
8 changed files with 31 additions and 25 deletions

View File

@ -2,10 +2,6 @@ use core::sync::atomic::{AtomicUsize, Ordering};
use defmt_rtt as _;
use panic_probe as _;
#[link_section = ".boot2"]
#[used]
pub static BOOT2: [u8; 256] = rp2040_boot2::BOOT_LOADER;
defmt::timestamp! {"{=u64}", {
static COUNT: AtomicUsize = AtomicUsize::new(0);
// NOTE(no-CAS) `timestamps` runs with interrupts disabled