mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fixup baremetal target problems unvield in CI
This commit is contained in:
parent
002d8660fc
commit
b3963cc2f4
2 changed files with 3 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ pub unsafe extern "C" fn rust_entry() -> ! {
|
|||
let iox = Iox::new(utra::iox::HW_IOX_BASE as *mut u32);
|
||||
#[cfg(feature = "bao1x-usb")]
|
||||
let (mut last_usb_state, mut portsc) = crate::platform::usb::glue::hotplug_usb(&iox);
|
||||
|
||||
#[cfg(feature = "bao1x-usb")]
|
||||
crate::println!(
|
||||
" [usb connected {:?}] [tx idle {:?}]",
|
||||
USB_CONNECTED.load(Ordering::SeqCst),
|
||||
|
|
|
|||
|
|
@ -205,8 +205,10 @@ pub fn setup_rx(perclk: u32) -> bao1x_hal::udma::Uart {
|
|||
|
||||
// ==== DUART-only debug print ==== -> this is used for USB feedback to avoid Tx loops on USB
|
||||
/// Placeholder for debug
|
||||
#[allow(dead_code)]
|
||||
pub struct Duart {}
|
||||
|
||||
#[allow(dead_code)]
|
||||
impl Duart {
|
||||
/// Print a character
|
||||
pub fn putc(&self, c: u8) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue