I am running into this same issue while porting our product from WICED 4.1.1 to 5.2. We see an increase in flash for the image of about ~45kB.
Has there been any progress?
For context, our product hardware is based on the LSR-Sterling module. And has been up and running fine for months with 4.1.1.
As part of the port, we updated our platform definitions and make files to specify
RESOURCES_LOCATION ?= RESOURCES_IN_WICEDFS
and our platform_config.h to include
I did see in the release notes that without these changes the clm_blob would be included in the image instead of being loaded into external flash. But a look through the *.map file does not reveal any significant space for the blob.
Am I missing some other required change?
1 of 1 people found this helpful
Such image size increasing makes it not possible to ota firmware from older sdk to 5.2+.
The difference is not just 45KB because once the new firmware can not fit into the same
block (4K), the ota will seek for spare space at the end of the flash.
i.e. it will need another 412028 bytes which is usually not available.
Note, the clm_blob is different problem but even without clm_blob issue the image size
increasing itself already causes OTA problem for users using older sdk.
I did dive in on this far enough to see that it was not a resource issue (as I originally feared) but that several libraries grew in size betwee 4.x and 5.2. IIRC, the BESL stuff was the biggest single change. When I originally posted, I built a comparison size map - if I can still find it, I'll post here in case it helps anyone else in the process of trying to shrink code .