From c336bf7f2205131c86e6d2991770a2c150d85ca9 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Mon, 24 Feb 2025 22:54:30 -0700 Subject: libhw: rp2040_hwspi: Use DMA --- cmd/sbc_harness/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cmd/sbc_harness') diff --git a/cmd/sbc_harness/main.c b/cmd/sbc_harness/main.c index a3351fc..8e2c5ee 100644 --- a/cmd/sbc_harness/main.c +++ b/cmd/sbc_harness/main.c @@ -174,7 +174,8 @@ COROUTINE init_cr(void *) { 16, /* PIN_MISO */ 19, /* PIN_MOSI */ 18, /* PIN_CLK */ - 17);/* PIN_CS */ + 17, /* PIN_CS */ + 0, 1, 2, 3); /* DMA channels */ w5500_init(&globals.dev_w5500, "W5500", lo_box_rp2040_hwspi_as_spi(&globals.dev_spi), 21, /* PIN_INTR */ -- cgit v1.2.3-2-g168b