Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8034

SDK • Re: Reduce cyw43 memory size

$
0
0
Here is a summary of sizes as a guideline, blink compiled for Pico W:

Code:

==========================From blink.elf.map, Pico W==========================TEXTsrc/rp2_common/pico_printf/printf.c.obj                     5980src/rp2_common/pico_cyw43_driver/cyw43_bus_pio_spi.c.obj    4332lib/cyw43-driver/src/cyw43_ll.c.obj                         6676lib/cyw43-driver/src/cyw43_ctrl.c.obj                       1156src/rp2_common/pico_cyw43_driver/cyw43_driver.c.obj         732RODATAsrc/rp2_common/pico_cyw43_driver/cyw43_bus_pio_spi.c.obj    22lib/cyw43-driver/src/cyw43_ll.c.obj                         226098lib/cyw43-driver/src/cyw43_ctrl.c.obj                       558__binary_info_end = 260688====================================Detail from RODATA of cyw43_ll.c.obj====================================.rodata.w43439A0_7_95_49_00_combined                0x10008498    0x36fd8 lib/cyw43-driver/src/cyw43_ll.c.obj.rodata.wifi_nvram_4343                0x1003f470      0x2e7 lib/cyw43-driver/src/cyw43_ll.c.obj*fill*          0x1003f757        0x1
Not an exhaustive list. Looking at the firmware blob in more detail, the front bit may be a vector table so the rest can benefit from a Huffman-type encoding and there are also some big 0x00 sections in there. Well, quite a bit of space can be saved, if one is inclined to follow this path.

Statistics: Posted by katak255 — Thu Oct 16, 2025 12:55 am



Viewing all articles
Browse latest Browse all 8034

Trending Articles