How can I reduce the CoProcessor code for NCS

I am now using the DFU functionality to upgrade the code combined with the CoProcessor and radio_test samples and find that the code takes up too much space to upgrade. I only use the openThread function in the CoProcessor example. Can MPSL-related functions in the CoProcessor example be deleted?

Or is there any other way to reduce storage space

Parents Reply Children
  • 0
    15929 pts.
    in reply to Ethan.Shi

    Hello,

    The prj_minimal.conf is basically another .conf file that you use instead of the prj.conf file, and select before you build the application. There is no overall general prj_minimal.conf that you can apply to all applications. 

    I don't think there is much you can strip down from the project itself, but as you can see from the sample description, you can try to enable this .conf file, but be aware that RCP is not the same as NCP. It requires more of the stack to run on the main MCU (not the nRF). 

    ...

    Best regards,

    Edvin

Related