We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f20b302 commit 643a925Copy full SHA for 643a925
src/rp2_common/pico_cyw43_driver/cyw43_driver.c
@@ -186,6 +186,9 @@ bool cyw43_driver_init(async_context_t *context) {
186
cyw43_wifi_fw_len = *(uint32_t*)(XIP_NOCACHE_NOALLOC_NOTRANSLATE_BASE + saddr);
187
cyw43_clm_len = *(uint32_t*)(XIP_NOCACHE_NOALLOC_NOTRANSLATE_BASE + saddr + 4);
188
fw_data = XIP_NOCACHE_NOALLOC_NOTRANSLATE_BASE + saddr + 8;
189
+ } else {
190
+ CYW43_DEBUG("No CYW43 firmware partition found, so cannot get firmware from partition\n");
191
+ return false;
192
}
193
} else {
194
CYW43_DEBUG("No partition table, so cannot get firmware from partition - get_partition_table_info returned %d\n", ret);
0 commit comments