joeycastillo / Sensor-Watch

A board replacement for the classic Casio F-91W wristwatch
Other
1.17k stars 233 forks source link

Enable LTO #324

Closed WesleyAC closed 10 months ago

WesleyAC commented 10 months ago

This reduces the size of the build by ~8% and may improve speed or reduce power usage as well.

Yet to be tested on hardware.

WesleyAC commented 10 months ago

This seems to completely break. When I flash the generated firmware, the watch immediately goes back into bootloader mode. I think it would be worth debugging this, since the potential gains are pretty big, but I suspect it might be complicated, maybe something not declared as volatile that needs to be, or some other such nonsense.

Gonna close this for now.