From bbb4c01d1ec0f36d75b00f403d2844c8c5592aa4 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Tue, 21 Mar 2023 20:29:22 +0000 Subject: [PATCH] Fix broken rp2040 wifi --- Sming/Arch/Rp2040/Components/rp2040/cyw43-driver.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sming/Arch/Rp2040/Components/rp2040/cyw43-driver.patch b/Sming/Arch/Rp2040/Components/rp2040/cyw43-driver.patch index 30ea7daf99..216cf19f0c 100644 --- a/Sming/Arch/Rp2040/Components/rp2040/cyw43-driver.patch +++ b/Sming/Arch/Rp2040/Components/rp2040/cyw43-driver.patch @@ -21,7 +21,7 @@ index c6c2df6..753bfa8 100644 [CYW43_EV_ASSOC_REQ_IE] = "ASSOC_REQ_IE", [CYW43_EV_ASSOC_RESP_IE] = "ASSOC_RESP_IE", diff --git a/src/cyw43_ll.c b/src/cyw43_ll.c -index 7f4229b..107f371 100644 +index 7f4229b..f3bc641 100644 --- a/src/cyw43_ll.c +++ b/src/cyw43_ll.c @@ -55,9 +55,6 @@ int sdio_transfer(uint32_t cmd, uint32_t arg, uint32_t *resp); @@ -122,7 +122,7 @@ index 7f4229b..107f371 100644 - // print wifi firmware version info - CYW43_DEBUG("%s\n", &b[fw_end - 3 - found]); - } -+ const uint32_t block_size = 16384; ++ const uint32_t block_size = CYW43_BUS_MAX_BLOCK_SIZE; #if VERIFY_FIRMWARE_DOWNLOAD uint32_t t_start = cyw43_hal_ticks_us();