Can MCUBoost contain Library file

Hi

In my ble repeater application on nRF52833,  when I adding OTA function , I found the my image rom size too large to adding FOTA with MCUBoot. there is my memory report. over 80% are the OS and library. can NCS work ad nRF SDK that share the library file for 2 image, that I can reduce 50% library area. 

Or can I put the library in MCUBoost area? 

Parents
  • Hi, 

    It's not possible to share and re-use the libraries between images or with MCUBoot. We used to have this approach with our legacy SDK (nRF5SDK) but it's not possible on NCS. 

    We are working on a solution to support single bank DFU (not background DFU) but I don't have a date when it's available yet. 

    My suggestion for now is to try reducing the size of the application via optimization, removing feature etc. Be sure you configure BT only on the feature you use. For example if you don't plan to work as a central device, make sure you set CONFIG_BT_CENTRAL=n and so on. 

    Or another option is to move to the bigger chip.

Reply
  • Hi, 

    It's not possible to share and re-use the libraries between images or with MCUBoot. We used to have this approach with our legacy SDK (nRF5SDK) but it's not possible on NCS. 

    We are working on a solution to support single bank DFU (not background DFU) but I don't have a date when it's available yet. 

    My suggestion for now is to try reducing the size of the application via optimization, removing feature etc. Be sure you configure BT only on the feature you use. For example if you don't plan to work as a central device, make sure you set CONFIG_BT_CENTRAL=n and so on. 

    Or another option is to move to the bigger chip.

Children
No Data
Related