#Updating Proffie Config Problems

39 messages · Page 1 of 1 (latest)

bold venture
#

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.

sudden carbon
#

is it your only proffie saber?

bold venture
#

No i have two

#

actually the other one is also running the same config

#

but with a 92cm blade

bold venture
#

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

sudden carbon
bold venture
#

no both are 2.2

#

i do have a 3.9 board sitting on a shelf though

sudden carbon
#

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?

bold venture
#

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

bold venture
#

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

outer kelp
#

So updating the plugin for Arduino can actually add size to older configs. Also older blade styles can do the same.

bold venture
#

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?

young void
#

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

outer kelp
#

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

bold venture
#

That makes sense. I'll play around with it. Take a look at the sizes. I appreciate the feedback

young void
#

Yeah I would stick with 3 for as long as possible

#

4 was/is a little odd

bold venture
#

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.

young void
#

Also, yeah, 4.0 has some problems it seems, still so…

bold venture
#

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

young void