622d267d55
add virtual LEDs, improve IO expander setup, drive TX_DISABLE
4ae8557018
drtio: remame drtio_transceiver to gt_drtio
cfe53a57a3
- runtime: replace block_sync with r#yield
f814a2006f
- io_expander: modify function to take i2c
f7fbb03f7a
add "hw_rev" rustc_cfg
28aa03b291
-runtime main: rename function
3a9699589c
- inline i2c0..1 into io_expander
5279358640
- runtime: replace block_sync with r#yield
e8617e1b82
- io_expander: modify function to take i2c
eef01ea836
add "hw_rev" rustc_cfg
16e9d94afc
-runtime main: rename function
29b624a3c9
- inline i2c0..1 into io_expander
use csr::virtual_leds for SFP0..3 LED indication
The block_async prevent "io_expanders_service" from locking up the whole cpu. As it blocks the loop from running over and over again.
aa073514b9
- io_expander: modify function to take i2c
43a8d09ab3
add "hw_rev" rustc_cfg
3ef5ad7ab2
-runtime main: rename function
a3a6051c80
- inline i2c0..1 into io_expander
09cbc8fca0
- remove debug message
use csr::virtual_leds for SFP0..3 LED indication
LAST_VIRTUAL_LED_STATUS
is a static mut. So it need an unsafe too
85da57980a
-runtime main: rename function
bc1f445be7
- inline i2c0..1 into io_expander
e1a2ab47e5
- remove debug message
163a85f9d8
rust format
88d030aded
fix SPF LED stay on after removal
use csr::virtual_leds for SFP0..3 LED indication