I'm trying to add RTT support into the secure BLE bootloader to get debug logs, but after adding the files it's consuming too much flash:
/usr/local/Cellar/arm-gcc-bin/8-2019-q3-update/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: _build/nrf52832_xxaa_s132.out section `.text' will not fit in region `FLASH' /usr/local/Cellar/arm-gcc-bin/8-2019-q3-update/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: region FLASH overflowed with .data and user data /usr/local/Cellar/arm-gcc-bin/8-2019-q3-update/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: section .mbr_params_page VMA [000000000007e000,000000000007efff] overlaps section .text VMA [0000000000078000,0000000000081ba7] /usr/local/Cellar/arm-gcc-bin/8-2019-q3-update/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 15500 bytes /usr/local/Cellar/arm-gcc-bin/8-2019-q3-update/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld: _build/nrf52832_xxaa_s132/main.c.o: in function `main':
Is there any way to fit RTT support into the bootloader?