mirror of https://github.com/m-labs/artiq.git
firmware: set DEST_COUNT to 0 without routing
This commit is contained in:
parent
3cbdf2fbac
commit
f7ad7a99e3
|
@ -3,7 +3,10 @@ use board_misoc::config;
|
||||||
use board_misoc::csr;
|
use board_misoc::csr;
|
||||||
use core::fmt;
|
use core::fmt;
|
||||||
|
|
||||||
|
#[cfg(has_drtio_routing)]
|
||||||
pub const DEST_COUNT: usize = 256;
|
pub const DEST_COUNT: usize = 256;
|
||||||
|
#[cfg(not(has_drtio_routing))]
|
||||||
|
pub const DEST_COUNT: usize = 0;
|
||||||
pub const MAX_HOPS: usize = 32;
|
pub const MAX_HOPS: usize = 32;
|
||||||
pub const INVALID_HOP: u8 = 0xff;
|
pub const INVALID_HOP: u8 = 0xff;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue