Closed
Description
Info
- OS: Win 10
- Arduino IDE version: 1.8.8
- STM32 core version: 1.4.0 and 1.5.0
- Upload method: Mass Storage
Board
- Name: Nucleo L152RE
Additional context
Here is an .ino file (it needs few lib's but you can figure out) to reproduce the warning.
https://gist.github.com/b41c43db7f3ac0990b5639921658f024.git
The cause is a double (64-bit) var at line 96. If you are using float, no problems.
If you move the position where it is declared, it may affect the warning output (or not)
It works ... but the difference is: with warning it takes +4 RAM bytes more :)
With corrected .bss ALIGN(4) no warnings and less memory.
Related commit:
d52e577#commitcomment-32583137