Skip to content

Conversation

peterharperuk
Copy link
Contributor

Changes required for wifi/bt firmware compression.

Use uzlib library added to the sdk.

Change bt firmware loading to use the functions provided for this purpose in cyw43-driver. It calls cyw43_get_firmware_funcs to get the list of functions.

Add build changes needed for firmware compression. Enhance
cyw43_write_bytes to allow us to use a src pointer part way through
spid_buf which is used as a temorary buffer for firmware decompression
Use cyw43_get_firmware_funcs to load BT firmware.
Update configuration to enable compression
Change the firmware streaming functions.
Implements firmware compression.
Firmware compressed with miniz.
Uses improved streaming API.
@kilograham kilograham added this to the 1.5.1 milestone May 25, 2023
@kilograham
Copy link
Contributor

what is the status of this? it says checks are failing but that may have been intermittant

@peterharperuk
Copy link
Contributor Author

It's dependent on this georgerobotics/cyw43-driver#68 which needs reviewing first.
I think Damien is of the opinion that the time it takes to decompress the firmware is not worth the flash saving.

@kilograham kilograham modified the milestones: 1.5.1, 1.6.0 Jun 2, 2023
@kilograham
Copy link
Contributor

moving to 1.6.0 as it sounds like this won't make 1.5.1

@peterharperuk peterharperuk marked this pull request as draft March 12, 2024 10:20
@kilograham
Copy link
Contributor

doh; have i not reviewed/merged this yet? sorry!

@kilograham kilograham modified the milestones: 1.6.1, 1.6.0 May 19, 2024
@peterharperuk peterharperuk modified the milestones: 1.6.0, 1.8.0 May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants