runtime main: add cxp phys setup

This commit is contained in:
morgan 2024-09-09 10:52:11 +08:00
parent 387f122b1d
commit 3f6811abe4

View File

@ -13,6 +13,8 @@ use core::cell::RefCell;
use ksupport;
use libasync::task;
#[cfg(has_cxp_phys)]
use libboard_artiq::cxp_phys;
#[cfg(has_drtio_eem)]
use libboard_artiq::drtio_eem;
#[cfg(feature = "target_kasli_soc")]
@ -150,5 +152,8 @@ pub fn main_core0() {
task::spawn(ksupport::report_async_rtio_errors());
#[cfg(has_cxp_phys)]
cxp_phys::setup(&mut timer);
comms::main(timer, cfg);
}