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

Related