I am running python kasli.py kasli_shuttler_100MHz_satellite.json
with the following json
{
"target": "kasli",
"variant": "shuttlerdemo",
"hw_rev": "v2.0",
"drtio_role": "satellite",
"rtio_frequency" : 100e6,
"peripherals": [
{
"type": "shuttler",
"hw_rev": "v1.1",
"ports": [0]
},
{
"type": "dio",
"ports": [1],
"bank_direction_low": "input",
"bank_direction_high": "output"
}
]
}
which gives me these errors:
error[E0432]: unresolved import
SAT_PAYLOAD_MAX_SIZE--> satman/routing.rs:7:5
|
7 | use SAT_PAYLOAD_MAX_SIZE;
| ^^^^^^^^^^^^^^^^^^^^ no
SAT_PAYLOAD_MAX_SIZE` in the root
error[E0432]: unresolved import MASTER_PAYLOAD_MAX_SIZE
--> satman/routing.rs:8:5
|
8 | use MASTER_PAYLOAD_MAX_SIZE;
| ^^^^^^^^^^^^^^^^^^^^^^^ no MASTER_PAYLOAD_MAX_SIZE
in the root
error[E0432]: unresolved import MASTER_PAYLOAD_MAX_SIZE
--> satman/dma.rs:8:48
|
8 | use ::{cricon_select, cricon_read, RtioMaster, MASTER_PAYLOAD_MAX_SIZE};
| ^^^^^^^^^^^^^^^^^^^^^^^ no MASTER_PAYLOAD_MAX_SIZE
in the root
error[E0432]: unresolved import MASTER_PAYLOAD_MAX_SIZE
--> satman/kernel.rs:20:5
|
20 | use MASTER_PAYLOAD_MAX_SIZE;
| ^^^^^^^^^^^^^^^^^^^^^^^ no MASTER_PAYLOAD_MAX_SIZE
in the root
error[E0425]: cannot find value SAT_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:380:38
|
380 | let mut data_slice: [u8; SAT_PAYLOAD_MAX_SIZE] = [0; SAT_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::SAT_PAYLOAD_MAX_SIZE;
|
error[E0425]: cannot find value SAT_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:380:66
|
380 | let mut data_slice: [u8; SAT_PAYLOAD_MAX_SIZE] = [0; SAT_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::SAT_PAYLOAD_MAX_SIZE;
|
error[E0425]: cannot find value MASTER_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:467:38
|
467 | let mut data_slice: [u8; MASTER_PAYLOAD_MAX_SIZE] = [0; MASTER_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::MASTER_PAYLOAD_MAX_SIZE;
|
error[E0425]: cannot find value MASTER_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:467:69
|
467 | let mut data_slice: [u8; MASTER_PAYLOAD_MAX_SIZE] = [0; MASTER_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::MASTER_PAYLOAD_MAX_SIZE;
|
error[E0425]: cannot find value MASTER_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:491:42
|
491 | let mut data_slice: [u8; MASTER_PAYLOAD_MAX_SIZE] = [0; MASTER_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::MASTER_PAYLOAD_MAX_SIZE;
|
error[E0425]: cannot find value MASTER_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:491:73
|
491 | let mut data_slice: [u8; MASTER_PAYLOAD_MAX_SIZE] = [0; MASTER_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::MASTER_PAYLOAD_MAX_SIZE;
|
error[E0425]: cannot find value SAT_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:508:38
|
508 | let mut data_slice = [0; SAT_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::SAT_PAYLOAD_MAX_SIZE;
|
error[E0425]: cannot find value SAT_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:557:39
|
557 | let mut value_slice = [0; SAT_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::SAT_PAYLOAD_MAX_SIZE;
|
error[E0425]: cannot find value SAT_PAYLOAD_MAX_SIZE
in this scope
--> satman/main.rs:585:39
|
585 | let mut value_slice = [0; SAT_PAYLOAD_MAX_SIZE];
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
19 | use proto_artiq::drtioaux_proto::SAT_PAYLOAD_MAX_SIZE;
|
Some errors have detailed explanations: E0425, E0432.
For more information about an error, try rustc --explain E0425
.
error: could not compile satman
due to 13 previous errors
`
It is possible that I missed something as my version was built off of an old commit (de8f8af3dd5f9b858343b38df8088b4ccbe98c81).
occheung ZC706 master, Kasli(-SoC) satellite, EEM-FMC Carrier, your FMC device.
ZC706 is the DRTIO master. Kasli(-SoC) satellite takes the GT-DRTIO connection from ZC706, and connects the EFC through DRTIO-over-EEM.
This is the configuration I want to run in. Thanks for clarifying that!