I wanted to the config on my saber to remove some styles/fonts I don't really use or have on other sabers. I opened up the config I have currently running (well a copy), updated it and used the Proffie.ino file used before. But now when I try to compile the file, I get an error:
ProffieOS.ino.elf section .text' will not fit in region FLASH'
.../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 1816 bytes
I thought this was odd because I updated the config to be smaller already. And it is currently much bigger on the board now. I am using the Proffieboard V2 profile.
#Updating Proffie Config Problems
39 messages · Page 1 of 1 (latest)
is it your only proffie saber?
No i have two
actually the other one is also running the same config
but with a 92cm blade
This is my config
I can't get the compiling of the sketch to pass, so it never tries to connect to the board. Though I can see the board in Arduiino IDE
And see the battery voltage in the serial monitor
is the other one a 3.9?
yeah i mean it just looks like it's too big. you said the same config is for sure on the other saber?
you have "smallest code" selected in tools -> optimize?
yes and yes. also this config is currently on the saber
i edit a copy to remove some styles
i tried the original and it also gives me the error now
I'm checking for typos now
maybe there is a missing comma or curly bracket
I am going to try to remove more styles
It is just too big
I really don't understand it either. This is pretty much the default config from when I got the cores except I added some fonts I bought, and removed some others when I first added those fonts
I removed more fonts and it worked
So updating the plugin for Arduino can actually add size to older configs. Also older blade styles can do the same.
Ah! That was probably it. I did update the plugin. I will look into that
Is there a better way to include the Arduino plugin? Something more targeted?
Besides changing the version in the manager, not really
There’s not much point usually.
The size getting bigger due to the plugin is, in a perfect world, the result of bug fixes, so you shouldn’t really want to downgrade, as annoying as it is
On a 2.2 board, I would totally sacrifice whatever bug fixes. It's at least three %. I think that I lost when I updated to the four point. Whatever
That makes sense. I'll play around with it. Take a look at the sizes. I appreciate the feedback
Oh I forgot about 4.0
Yeah I would stick with 3 for as long as possible
4 was/is a little odd
Just to follow up on this. I didn't update the config until this morning. I was seeing weird issues with the clash and blaster sound firing when swinging the saber. I downgraded the proffie board version to 3.6 in Arduino IDE, and reuploaded. Things are working much better. Additionally, after that "downgrade" I was able to fit more fonts on the v2.2 board again. I tested that after testing the saber stability.
Weird question, but if you’re in the US, are you more east or west? There were some problems with downloading v3.6 that seemed geographical.
Also, yeah, 4.0 has some problems it seems, still so…
i am on the east
Ohio specifically so midwest?
i have been playing with the saber all morning. Things are much better. I tend to pace and swing while in meetings haha
Gotcha. I’ll have to take another look and see if it was temporary weirdness or not, but I appreciate the (somewhat random) breadcrumb 🙂