We have a project based on nrf5340 audio demo,Now we upgrade SDK from NCS2.4 to NCS2.6.
But when I built the DFU, I found that FLASH was not enough
c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: zephyr\zephyr_pre0.elf section `text' will not fit in region `FLASH' c:/ncs/toolchains/cf2149caf2/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: region `FLASH' overflowed by 20308 bytes
I know this problem exists in NCS2.5.99 and the reason is, but NCS2.6 should have fixed it?
I know that I need to cut the controller. For BIS headset and BIS gateway, what configurations can I use to reduce the size?