Hello sir / ma'am
I want to implement OTA with zephyr using openthread but the size of my code .bin file is too much like 412kB .
How can I reduce my code size ?
What are reasons behind that .
Hello sir / ma'am
I want to implement OTA with zephyr using openthread but the size of my code .bin file is too much like 412kB .
How can I reduce my code size ?
What are reasons behind that .
Hi Rink,
We have introduced one page on the NCS document to explain how the optimize memory footprint. Please refer to: Memory footprint optimization — nRF Connect SDK 1.4.99-dev1 documentation (nordicsemi.com)
still too much size , according to your solution I can reduce only 20-25 kB , my total code size is 408 kB , can i reduce unto 300 kB ?
And why zephyr openThread code size is too much ? I had also done OTA update on TI micro controller and ST but that code size is around 200 kB .
Hi Rink,
Feel really sorry for the late reply. I lost track of your case until I saw a similar case today, you can check the reply as reference: nRF52840dk (PCA10056) Code size Openthread, zephyr.
For your questions, I am not sure which example your code is based on. If other chips using thread library from openthread project with the same application, their code size should be pretty similar.
There might be some unnecessary features you have enabled. The Memory footprint optimization does not give too much help on an FTD device with most of the features enabled.
Hi Rink,
Feel really sorry for the late reply. I lost track of your case until I saw a similar case today, you can check the reply as reference: nRF52840dk (PCA10056) Code size Openthread, zephyr.
For your questions, I am not sure which example your code is based on. If other chips using thread library from openthread project with the same application, their code size should be pretty similar.
There might be some unnecessary features you have enabled. The Memory footprint optimization does not give too much help on an FTD device with most of the features enabled.