Fix kasli_soc-demo compilation error with cfg
Difference between artiq and artiq-zynq
- In artiq repo, the rust-cfg is generated by calling
f.write(cpu_interface.get_rust_cfg(soc.get_csr_regions(), soc.get_constants()))
in the…
Fix kasli_soc-demo compilation error with cfg
Running python src/gateware/kasli_soc.py -r build/pl.rs -c build/rustc-cfg -m build/mem.rs kasli-soc-satellite.json
with the line omitted, the build/rust-cfg
don't have the has_virtual_leds
…
Fix kasli_soc-demo compilation error with cfg
main.rs: fix zc706 compiling error
main.rs: fix zc706 compiling error
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_s…
c3d518ebe1
gate "let io_expander..." behind cfg
262304a073
add has_virtual_leds cfg flag
main.rs: fix zc706 compiling error
kasli_soc.py: add virtual leds csr device