Smoothieware / Smoothie2-old

(Deprecated attempt at) A Smoothie firmware port to the Smoothieboard v2 boards.
GNU General Public License v3.0
34 stars 22 forks source link

Re-enable compiler optimizations #24

Closed adamgreen closed 8 years ago

adamgreen commented 8 years ago

Commit 90ac0c1b2625e6e79842962fce332666a4ef4b8b disabled optimizations. This made it easier to debug the code but it can make code like the step ticker run so slowly that it eats all CPU cycles. This was observed on the Bambino210E where the code is running out of SPIFI FLASH.

I also force MRI_SEMIHOST_STDIO to 0 since we have never wanted this feature enabled in Smoothie firmware.

arthurwolf commented 8 years ago

Sometimes I don't watch what I do ... thanks for catching this.

adamgreen commented 8 years ago

@kasandell This PR might fix your G1 issue on the Bambino210E.

kasandell commented 8 years ago

@adamgreen thanks I'll take a look at it when I'm back home.