From 043fc06804c4442e559f9c246fb8d00fe6e2444c Mon Sep 17 00:00:00 2001 From: Sam Chin Date: Thu, 31 Jul 2025 16:48:29 +0800 Subject: [PATCH] now you can turn on and off the LED --- baremetal/src/repl.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/baremetal/src/repl.rs b/baremetal/src/repl.rs index 8938d116c..87f457f68 100644 --- a/baremetal/src/repl.rs +++ b/baremetal/src/repl.rs @@ -210,8 +210,7 @@ impl Repl { let prog = pin_control_code(); bio_ss.load_code(prog, 0, BioCore::Core0); - - ctrl |= 0b0001; // Restart Core 0 + ctrl |= 0b0001_0001_0001; bio_ss.bio.wo(utra::bio_bdma::SFR_CTRL, ctrl); GPIO_CORE_INITIALIZED.store(true, Ordering::Relaxed); crate::println!("GPIO control core is running.");