Closed TzOk83 closed 1 year ago
That's a very good finding. GCC 7 is miles ahead of GCC 4.8 in terms of optimization. Will update the doc to reflect that.
That's now the official way to compile ACSI2STM as it doesn't seem to produce any regressions over the infamous hardware STM32 timer bug, which is my biggest nightmare.
Anyway, 4.10 solved every known problem, I played with it for a day with all the cases I had in constructive feedback, and it's rock solid.
Actually, you can go even further and download the official Arm GNU Toolchain V10.3-2021.10 and put it into a folder 'C:\Users\
The result will be: Sketch uses 57372 bytes (87%) of program storage space. Maximum is 65536 bytes. Global variables use 16416 bytes (80%) of dynamic memory, leaving 4064 bytes for local variables. Maximum is 20480 bytes.
Not really an issue with the project itself, but rather with libraries and dependencies. I've spent almost a whole day trying to solve this riddle.
Now your 4.01 binary will be 57500 bytes in Flash, and will use 16408 bytes (80%) of dynamic memory.