Commit Graph

919 Commits

Author SHA1 Message Date
bc7925989b cxp syscall: use usual order of ROI coordinates 2025-03-20 15:47:18 +08:00
b2256800fe cxp syscall: error if roiviewer over height limit 2025-03-20 15:47:18 +08:00
637163bbca flake: update dependencies 2025-03-19 17:25:37 +08:00
50ead76c09 i2c: use error enum, nacks cannot be ignored 2025-03-19 16:36:56 +08:00
267a1222ed cxp_grabber: add ROIViewer syscalls
api: add start roi viewer to flush the fifo and set the ROI coordinate
api: add roi viewer frame download
2025-03-14 12:12:58 +08:00
fe09e8615e flake: update dependencies 2025-03-14 12:11:57 +08:00
cb8fa20beb remove/allow dead code
CxpRead/CxpWrite functions are unused
and unplanned, removing. DrtioContext emits warn
because Clone is ignored in dead code analysis.
2025-03-14 11:30:31 +08:00
0efa450537 update cargo lockfile 2025-03-14 11:29:43 +08:00
4c59ab933b cargo fmt 2025-03-12 17:36:34 +08:00
504d7a8d5b flake: update dependencies 2025-03-12 17:28:35 +08:00
a577238bae bump rustfmt 2025-03-12 13:56:26 +08:00
1c90228f84 silence static mut ref warn for RECORDER 2025-03-12 13:56:26 +08:00
8129b8163c update futures, num-derive, async-recursion
bunched together to avoid depending on two separate `syn`
versions
2025-03-12 13:56:26 +08:00
95175b7168 silence dead code warns 2025-03-12 13:56:26 +08:00
3172625ba6 allow internal features
Signed-off-by: Simon Renblad <srenblad@m-labs.hk>
2025-03-12 13:56:26 +08:00
9e51599195 remove unnecessary imports 2025-03-12 13:56:26 +08:00
5445a1268c remove unnecessary mut 2025-03-12 13:56:26 +08:00
48ed2f188e fix dropping references 2025-03-12 13:56:26 +08:00
64d79de6c5 bump compiler_builtins to 0.1.108 2025-03-12 13:56:26 +08:00
be8f618d95 renamed const_btree_new feature 2025-03-12 13:56:26 +08:00
dca808b2e4 remove stabilized nll, static_nobundle flags 2025-03-12 13:56:26 +08:00
e4b85bf51a bump llvm to 18 2025-03-12 13:56:26 +08:00
c2c5367572 kasli-soc: support shuttler as a peripheral of kasli-soc satellite 2025-03-11 11:45:45 +08:00
290134e07e libio: add endianness as generic type param
Based on the API of ReadBytesExt, WriteBytesExt
from byteorder without the std dependency.
2025-03-10 15:44:33 +08:00
e07dad71d5 libksupport: add cxp syscall support
cxp: add read/write 32 bit value
cxp: add xml file download
lib: gate cxp import
api: add cxp syscalls
2025-03-04 14:46:39 +08:00
d0c34671d7 artiq error: add cxp error for syscall 2025-03-04 14:46:39 +08:00
82a1b38a19 runtime main: add cxp grabber support
main: init cxp phys
main: start cxp grabber task
2025-03-04 14:46:39 +08:00
db76dfc209 cxp_grabber fw: add cxp grabber handler
cxp_grabber: add cxp grabber tick task
cxp_grabber: add camera_connected and with_tag helper fns for syscall
libboard_artiq: add cxp_grabber.rs
2025-03-04 14:46:39 +08:00
b0ceac0f3a cxp_camera_setup fw: initalize camera
camera_setup: add setup error and error message
camera_setup: add camera discovery
camera_setup: add camera setup sequence
camera_setup: add placeholder HOST_CONNECTION_ID
libboard_artiq: add cxp_camera_setup.rs
2025-03-04 14:46:39 +08:00
a0673f13a1 cxp_packet fw: add cxp packet handler
packet: add receiving/sending control packet (w/ or w/o tags) handling
packet: add sending test packet
packet: add read/write register interface
packet: add read bytes for xml file download
libboard_artiq: add cxp_packet.rs
2025-03-04 14:46:39 +08:00
6086b867c8 cxp_ctrl fw: add cxp control packet parser
ctrl: add control packet error and error message
ctrl: add CXPCRC32 calculation
ctrl: use byteoder crate to handle endianness
ctrl: add control packer reader and writer
ctrl: add error correction for reading 4x char
libboard_artiq: add cxp_ctrl.rs
2025-03-04 14:46:39 +08:00
17f59e2353 cxp_phys fw: add CXP TRX phys support
phys: add tx & rx setup
tx: add csr to change linerate between 20.83/41.6Mpbs
rx: add GTX and QPLL DRP to change linerate 1.25-12.5Gbps
libboard artiq: add cxp_phys.rs
2025-03-04 14:46:39 +08:00
f080bee029 libboard_artiq cargo: add byteorder 2025-03-04 14:46:39 +08:00
599442dc0d flake: add zc706 cxp_4r_fmc variant build options 2025-03-04 14:46:39 +08:00
622bca24d1 zc706: add CXP_4R_FMC variant
zc706 base: expose cdr_clk (gt_refclk) for CXPGrabber
grabber: add cxp_4r_fmc pads
grabber: add CXPGrabber module
grabber: add csr and memory group for CXPGrabber
grabber: add CXPGrabber and user led to rtio_channel
grabber: add constraint for cd_cxp_gt_rx
2025-03-04 14:46:39 +08:00
bcab64f1ff gateware: add cxp_4r_fmc pinout 2025-03-04 14:46:39 +08:00
dfc731a4c1 flake: update dependencies 2025-03-04 14:46:39 +08:00
58ecf62921 libksupport: inline _resolve_channel_name helper
Signed-off-by: Simon Renblad <srenblad@m-labs.hk>
2025-03-04 14:19:50 +08:00
11134cdfd6 use MaybeUninit for LOGGER 2025-02-27 13:18:23 +08:00
2e99b9cf0d use MaybeUninit for I2C_BUS, create get_bus helper 2025-02-27 13:18:23 +08:00
4f79ee962c fix cargo-xbuild dependency 2025-02-17 15:15:33 +08:00
d4105b79e7 flake: update dependencies 2025-02-17 15:15:22 +08:00
1beb6fd944 cargo fmt 2025-02-13 17:46:15 +08:00
ce1c430fdc upgrade rustfmt required version 2025-02-13 17:45:29 +08:00
cf99700299 update cargo lockfile 2025-02-13 17:31:43 +08:00
9f1f349b29 export rust_eh_personality manually 2025-02-13 17:31:43 +08:00
98255ec25a prevent vectorizing copy_work_buffer 2025-02-13 17:31:43 +08:00
421033ef98 remove unused asm feature flag 2025-02-13 17:31:43 +08:00
c603a4ba12 remove allow incomplete features 2025-02-13 17:31:43 +08:00
529d7819a9 fix missing asm macro 2025-02-13 17:31:43 +08:00