release-7: fix zc706 satellite compilation warning #275
No reviewers
Labels
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/artiq-zynq#275
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "morgan/artiq-zynq:zc706_sat_warning_fix"
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?
Summary
add
has_rtio_moninj
cfg to fix unused variables warning related todrtioaux::Packet
the root cause of the compilation warning is due to absent of
has_rtio_moninj
in zc706 satellite's cfg. Which gated the codes that use those parameters.MonitorRequest
function, the warning showchannel
andprobe
being unused due to thecsr::rtio_moninj::mon_chan_sel_write(channel as _);
andcsr::rtio_moninj::mon_probe_sel_write(probe);
being gated by#[cfg(has_rtio_moninj)]
.nix build <variant> -L
of the following and all built successfullyzc706-acpki_nist_qc2-jtag
zc706-acpki_nist_qc2_master-jtag
zc706-acpki_nist_qc2_satellite-jtag
Compilation Warning before patch
c4ea3a7bf3
to7d9b007a16
release-7: consoldiate write...file(), update zc706.py and fix zc706 satellite compilation warningto release-7: consoldiate write...file() and fix zc706 satellite compilation warning7d9b007a16
toe3d01fb7ac
@ -0,0 +1,16 @@
from misoc.integration import cpu_interface
Are such refactors suitable for backporting?
Better than copying code from
misoc
, IMO.No harm in also introducing config.py like on the curernt master. Compatibility isn't broken, and that's what's most important for backporting.
No, generally we should be conservative on release branches, and not make any changes that are not necessary to fix bugs.
Introducing this refactoring would be ok if a bug fix depends on it, but as far as I can tell this is not the case here.
e3d01fb7ac
to131c7103df
release-7: consoldiate write...file() and fix zc706 satellite compilation warningto release-7: update zc706.py to follow kasli_soc.py and fix zc706 satellite compilation warningThe patch still looks wrong.
131c7103df
tofab45fb6f9
Force push to simplify the patch.
release-7: update zc706.py to follow kasli_soc.py and fix zc706 satellite compilation warningto release-7: fix zc706 satellite compilation warning