I’ve been following The Frugal Jedi’s tutorial on proffie and I got all the way to adding your config file. But every time I verify it I get this error.
C:/Users/wnada/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/…/lib/gcc/arm-none-eabi/14.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe:C:\Users\wnada\AppData\Local\Arduino15\packages\proffieboard\hardware\stm32l4\4.6\variants\STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2’ not declared
lto-wrapper.exe: warning: using serial compilation of 8 LTRANS jobs
lto-wrapper.exe: note: see the ‘-flto’ option documentation for more information
C:/Users/wnada/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/…/lib/gcc/arm-none-eabi/14.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: C:\Users\wnada\AppData\Local\arduino\sketches\C99A29CB8992676C9D5D240F79356A06/ProffieOS.ino.elf section .text' will not fit in region FLASH’
C:/Users/wnada/AppData/Local/Arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/…/lib/gcc/arm-none-eabi/14.2.1/…/…/…/…/arm-none-eabi/bin/ld.exe: region `FLASH’ overflowed by 9256 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
I know it has something to do with the size of my file but I don’t understand how that can happen because the file was from my manufacturer. Please help I’m very new to proffie.
Sometimes, unfortunately, manufactures can make mistakes and send the wrong files. They are humans after all! Some manufactures don’t care and just send something because they are supposed to.
I’ll send the code tomorrow I got the saber from dark wolf and they put over 40 sounds on it and honestly about 20 are maybe worth it. But how did they get that many if it was too big
The latest stable version is 7.15, the latest beta is 8.3 and I am using 8.x from github (not yet released as an official version). I saw on dark wolf page that they provide support for v6.9
Yeah that’s what I have I haven’t updated the board or anything considering I haven’t got past putting my config file in there. Sorry I am pretty new to this, just wanted to learn how to do it right not some 10 minute speedrun from a guy on youtube lmao.
It is a good looking config, seems as optimized as can be to cram as many presets (a preset is a sound font + blade style) as possible.
Unfortunately for you, it was optimized for ProffieOS 6.9 (I think).
If you want to use the latest stable ProffieOS 7.15 (which is bigger than 6.9), you will need to remove some preset(s).
I removed one (bank26), the most memory hungry. I didn’t delete it, I just commented it out by adding // in front of it.
I hope it is not your favorite because I started by removing the bottom 2, that barely did anything, then I tried removing the bottom 10, then 15 and it was still too big! Billy_Adair_Neopixel1xswitchneo32.h (84.4 KB)
I’m willing to comment out some more because I saw some cool fonts by jaydalorian i wanted to use. If I send the config file with presets commented out it’ll just remove them from the board until I flash it again to add them in the future if I want right? Also do i need to change any other files before I flash the board?
Every time you flash, the whole configuration of the board is overwritten.
So there is no “remove” step. Everything is just overwritten.
You do not need to change any other files. (Except possibly adding fonts to the SD card.)
I didn’t comment out a “font”, I commented out a preset for you.
A preset is font + blade style. A font will not take more space than another. A “complicated” blade style can take a lot more space than 20 simple blade styles.