Skip to content

Instantly share code, notes, and snippets.

View KoviRobi's full-sized avatar

Kovacsics Robert KoviRobi

  • Cambridge Consultants
  • Cambridge, UK
  • 05:46 (UTC +01:00)
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