Commit d8aa666
committed
cmake: enable -mcall-prologues
Reduces flash memory usage by ~300B
The CMake build outputs an ASM file for the firmware image and is human readable.
To see the impacted functions, look for these routines:
__prologue_saves__
__epilogue_restores__
They should come in pairs.
For more info about this option, see:
https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/AVR-Options.html#AVR-Options1 parent 22a8f1d commit d8aa666
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| |||
0 commit comments