From 8fa2824b5bf6f9748e68a72baffb92da5c731a91 Mon Sep 17 00:00:00 2001 From: morgan Date: Mon, 9 Sep 2024 10:52:11 +0800 Subject: [PATCH] main: add cxp test --- src/runtime/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/runtime/src/main.rs b/src/runtime/src/main.rs index dd24e25..5dbefba 100644 --- a/src/runtime/src/main.rs +++ b/src/runtime/src/main.rs @@ -17,7 +17,7 @@ use libasync::task; use libboard_artiq::drtio_eem; #[cfg(feature = "target_kasli_soc")] use libboard_artiq::io_expander; -use libboard_artiq::{identifier_read, logger, pl}; +use libboard_artiq::{cxp, identifier_read, logger, pl}; use libboard_zynq::{gic, mpcore, timer::GlobalTimer}; use libconfig::Config; use libcortex_a9::l2c::enable_l2_cache; @@ -150,5 +150,7 @@ pub fn main_core0() { task::spawn(ksupport::report_async_rtio_errors()); + cxp::setup(&mut timer); + comms::main(timer, cfg); }