main.rs: fix zc706 compiling error #249
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#249
Loading…
Reference in New Issue
No description provided.
Delete Branch "morgan/artiq-zynq:bugfix_zc706"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add cfg in both runtime and satman main.rs.
Tested with
nix build .#zc706-acpki_nist_clock-jtag
,nix build .#zc706-acpki_nist_clock_master-jtag -L
,nix build .#zc706-acpki_nist_clock_satellite-jtag -L
and all built successfully.Fix
zc706
compiling error due to PR #244#248 (comment)
The zc706 has a different compilation error than the kasli_soc-demo. As the zc706 doesn't have io_expander, gating
let (mut io_expander0, mut io_expander1)
behind#[cfg(feature = "target_kasli_soc")]
seem more reasonable.