HI !
There are two solution :
either you shrink your code, either you allow more space for the segment
There should be a kind of linker script, with the segment definition, and a linker report with the start adress and size of each of your modules.
you should check the size of code_c, and then in the linker script with the segment definition, you manually resize the segment.