Sloeber does not support compiler.optimization_flags.release and debug => more than double size of .elf than Arduino IDE for BluePill F103C8 (64K) · Issue #1625 · Sloeber/arduino-eclipse-plugin · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sloeber does not support compiler.optimization_flags.release and debug => more than double size of .elf than Arduino IDE for BluePill F103C8 (64K) #1625
Bug Description
I was trying to switch from Arduino IDE to Sloeber. So I copy-paste my current myProject.ino code into Sloeber and select Default .cpp file to create Arduino Sketch.
I followed the given tutorial for this: https://github.com/ArminJo/SloeberTutorial
My configuration is in the screenshot:
1.
I got an error: (.elf section .text' will not fit in region FLASH'; region `FLASH' overflowed by 44808 bytes)
Part-1
Part-2
But when I change the existing MCU in Sloeber from BluePill F103C8 (64KB) to BluePill F103CB (128KB), the output shows no error but the size of the code!
Now look at Arduino IDE configuration and code size with BluePill F103C8 (64KB)
Config:
Output Part-1
Output Part-2
So why is Sloeber taking up more space than the Arduino IDE? Is there any setting left or any missing steps to do?
As of now, I have to work on the Arduino IDE, but I am willing to work with Sloeber.