now you can turn on and off the LED

This commit is contained in:
Sam Chin 2025-07-31 16:48:29 +08:00
parent 3427a9d09b
commit 043fc06804

View file

@ -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.");