leaflabs / maple-bootloader

Bootloader firmware for the Maple ARM Cortex-M3 development board from LeafLabs
http://leaflabs.com
135 stars 117 forks source link

Impossible to compile with GCC 4.9 #12

Open M-Reimer opened 9 years ago

M-Reimer commented 9 years ago

I've been trying for several hours to get the maple bootloader to compile with GCC 4.9 which, for some reason, seems to be impossible. Even with "-O0" the resulting binary doesn't work. I did several tries to find the problem but failed so far.

rogerclarkmelbourne commented 7 years ago

Use my version

https://github.com/rogerclarkmelbourne/STM32duino-bootloader

matthijskooijman commented 5 years ago

@rogerclarkmelbourne, does that advice still hold? On the linked repo, it says "Also Note. Use GCC 4.8 (not 4.9 or newer, as these versions have more aggressive optimisation which causes hardware registers not be read correctly and consequently the bootloader does not work)", so I suspect that this problem is not fixed by your version?