forked from M-Labs/artiq-zynq
runtime main: add cxp phys setup
This commit is contained in:
parent
387f122b1d
commit
3f6811abe4
@ -13,6 +13,8 @@ use core::cell::RefCell;
|
|||||||
|
|
||||||
use ksupport;
|
use ksupport;
|
||||||
use libasync::task;
|
use libasync::task;
|
||||||
|
#[cfg(has_cxp_phys)]
|
||||||
|
use libboard_artiq::cxp_phys;
|
||||||
#[cfg(has_drtio_eem)]
|
#[cfg(has_drtio_eem)]
|
||||||
use libboard_artiq::drtio_eem;
|
use libboard_artiq::drtio_eem;
|
||||||
#[cfg(feature = "target_kasli_soc")]
|
#[cfg(feature = "target_kasli_soc")]
|
||||||
@ -150,5 +152,8 @@ pub fn main_core0() {
|
|||||||
|
|
||||||
task::spawn(ksupport::report_async_rtio_errors());
|
task::spawn(ksupport::report_async_rtio_errors());
|
||||||
|
|
||||||
|
#[cfg(has_cxp_phys)]
|
||||||
|
cxp_phys::setup(&mut timer);
|
||||||
|
|
||||||
comms::main(timer, cfg);
|
comms::main(timer, cfg);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user