Skip to content

Instantly share code, notes, and snippets.

View KoviRobi's full-sized avatar

Kovacsics Robert KoviRobi

  • Carallon
  • London
  • 02:48 (UTC)
View GitHub Profile
@riskable
riskable / main.rs
Last active November 20, 2022 23:20
Multi-core Rust example on rp2040 with RTIC (on one core)
// This is just a subsection of the code (the parts relevant to multi-core stuff)
// It won't "just work"
use rp2040_hal as hal;
use hal::multicore::{Multicore, Stack};
use hal::pac;
use hal::sio::Sio;
use heapless::spsc::Queue;
// These are markers are used to indicate the beginning and end