-
When I use 2.7.0/2.7.1 for STM32G030/STM32F1/STM32F0, it's use very more flash than 2.6.0 I made a lot of comparisons, including new blank projects and existing old projects. I don't know what caused this error. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Could you be more precise. What is the "very more flash? |
Beta Was this translation helpful? Give feedback.
-
For example, creating a new sketch without any program,compiling it.
Debug symbols and core logs:"None" When I used 2.6.0, Sketch uses 3144 bytes (4%) of program storage space. Maximum is 65536 bytes My another old Sketch uses 26816 bytes (40%) of program storage space with 2.6.0, and uses 42028 bytes (64%) of program storage space with 2.7.1 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Here my test results using freshly installed Arduino IDE 2.2.1. 2.6.0
2.7.1
So delta is 48 bytes of flash. Don't know how you got those results. Maybe Arduino IDE cache files, Customization you made using *.local.txt or other. |
Beta Was this translation helpful? Give feedback.
Yes,"Optimize for debug" is checked.
And it is right when I uncheck it.