PlaitsPatchInit icon indicating copy to clipboard operation
PlaitsPatchInit copied to clipboard

.test won't fit in FLASH

Open mdjones opened this issue 2 years ago • 1 comments

Really cool idea. Who wouldn't want another plaits on demand? I am getting the following error on make. Any ideas? I have the patch.init() with 64MB SDRAM, STM32 H7 processor

/Library/DaisyToolchain/0.2.0/arm/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: build/plaits.elf section .text' will not fit in region FLASH' /Library/DaisyToolchain/0.2.0/arm/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: region FLASH' overflowed by 5292 bytes`

mdjones avatar Feb 03 '24 22:02 mdjones

It only just fit before, I re-compiled and get the same issue. Must be arm toolchain (which I've updated recently) produces slightly larger binaries. I've pushed a fix that drops the final bank of speech synthesis LUTs, so seems to fit now:

/Applications/ArmGNUToolchain/12.3.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld: warning: build/plaits.elf has a LOAD segment with RWX permissions Memory region Used Size Region Size %age Used FLASH: 130436 B 128 KB 99.51% DTCMRAM: 0 GB 128 KB 0.00%

hemmer avatar Feb 19 '24 19:02 hemmer