From 76c1f9cb558819a5ce7669d25b6d76ce477b4c2e Mon Sep 17 00:00:00 2001 From: bunnie Date: Sun, 5 May 2024 16:31:57 +0800 Subject: [PATCH] fix debug in precursor configs --- services/xous-swapper/src/debug.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/services/xous-swapper/src/debug.rs b/services/xous-swapper/src/debug.rs index 4eb77ba70..a1c669772 100644 --- a/services/xous-swapper/src/debug.rs +++ b/services/xous-swapper/src/debug.rs @@ -4,6 +4,7 @@ pub struct DebugUart {} impl DebugUart { #[cfg(all(feature = "debug-print", any(feature = "precursor", feature = "renode")))] pub fn putc(&mut self, c: u8) { + use utralib::generated::*; let mut csr = CSR::new(loader::swap::SWAP_APP_UART_VADDR as *mut u32); // Wait until TXFULL is `0`