examples/rp: remove unneeded sio spinlock stuck bug workarounds.

This is now workarounded by embassy-rp itself.
This commit is contained in:
Dario Nieuwenhuis 2025-02-06 00:02:52 +01:00
parent 0fe288879b
commit 66c5fe0a75
4 changed files with 0 additions and 4 deletions

View File

@ -32,7 +32,6 @@ static ADC_VALUES: Channel<CriticalSectionRawMutex, u16, 2048> = Channel::new();
#[embassy_executor::main]
async fn main(spawner: Spawner) {
embassy_rp::pac::SIO.spinlock(31).write_value(1);
let p = embassy_rp::init(Default::default());
let adc = Adc::new_blocking(p.ADC, Default::default());

View File

@ -32,7 +32,6 @@ impl embedded_sdmmc::TimeSource for DummyTimesource {
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
embassy_rp::pac::SIO.spinlock(31).write_value(1);
let p = embassy_rp::init(Default::default());
// SPI clock needs to be running at <= 400kHz during initialization

View File

@ -37,7 +37,6 @@ static ADC_VALUES: Channel<CriticalSectionRawMutex, u16, 2048> = Channel::new();
#[embassy_executor::main]
async fn main(spawner: Spawner) {
embassy_rp::pac::SIO.spinlock(31).write_value(1);
let p = embassy_rp::init(Default::default());
let adc = Adc::new_blocking(p.ADC, Default::default());

View File

@ -38,7 +38,6 @@ impl embedded_sdmmc::TimeSource for DummyTimesource {
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
embassy_rp::pac::SIO.spinlock(31).write_value(1);
let p = embassy_rp::init(Default::default());
// SPI clock needs to be running at <= 400kHz during initialization