hemmer / PlaitsPatchInit

Trying to port some of plaits to patch.init()
29 stars 1 forks source link

.test won't fit in FLASH #1

Open mdjones opened 8 months ago

mdjones commented 8 months ago

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: regionFLASH' overflowed by 5292 bytes`

hemmer commented 8 months ago

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%