use csr::virtual_leds for SFP0..3 LED indication #244

Merged
sb10q merged 10 commits from morgan/artiq-zynq:feature into master 2023-08-28 16:08:11 +08:00

10 Commits

Author SHA1 Message Date
MorganTL
831140b20d kasli_soc: rename drtio_transceiver to gt_drtio 2023-08-28 16:07:02 +08:00
MorganTL
cfe53a57a3 - runtime: replace block_sync with r#yield
- runtime: chagne cfg that uses has_drtio
- satman: chagne cfg that uses has_drtio
2023-08-28 15:48:55 +08:00
MorganTL
f814a2006f - io_expander: modify function to take i2c
- io_expander: remove i2c in struct
- io_expander: rename variable
- satman: create ioexpander object earlier in main
- runtime: create ioexpander object earlier in main
- runtime: rename async io_expander_service & takes in refcell
- runtime: inline wait function in block_async parameter
2023-08-28 15:48:55 +08:00
MorganTL
f7fbb03f7a add "hw_rev" rustc_cfg 2023-08-28 15:48:55 +08:00
MorganTL
28aa03b291 -runtime main: rename function
- satman: change i2c0..1 to use raw pointer
- add reverted SFP LED commit
2023-08-28 15:48:55 +08:00
MorganTL
3a9699589c - inline i2c0..1 into io_expander
- remove redundant i2c.init
2023-08-28 15:48:55 +08:00
MorganTL
097cfd9996 - remove debug message
- save 1 csr call
2023-08-28 15:48:55 +08:00
MorganTL
f917c62948 rust format 2023-08-28 15:48:55 +08:00
MorganTL
cee22f43aa fix SPF LED stay on after removal 2023-08-28 15:48:55 +08:00
MorganTL
9c6a993a7f use csr::virtual_leds for SFP0..3 LED indication 2023-08-28 15:48:55 +08:00