diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-16 15:30:54 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-16 15:30:54 -0600 |
commit | e0085b57347bb3eec06f84abf37be3ae590e75f7 (patch) | |
tree | 2f338fde18cd4dab1a7115e161ed0343845c2cf9 /cmd/sbc_harness/main.c | |
parent | c65052854eeef203dfecb73844ea69b368214b42 (diff) |
closer to compiling
Diffstat (limited to 'cmd/sbc_harness/main.c')
-rw-r--r-- | cmd/sbc_harness/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index 1200608..b120d46 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -44,9 +44,10 @@ int main() { 19, /* PIN_MOSI */ 18, /* PIN_CLK */ 17); /* PIN_CS */ - w5500_init(&dev_w5500, "W5500", &dev_spi, - 21, /* PIN_INTR */ - 20); /* PIN_RESET */ + w5500_init(&dev_w5500, "W5500", (struct spi *)&dev_spi, + 21, /* PIN_INTR */ + 20, /* PIN_RESET */ + ((struct eth_addr){{0xDE,0xAD,0xBE,0xEF,0x01,0x02}})); usb_common_earlyinit(); usb_keyboard_init(); |