Page 1 of 1

GNU 4.9 2014q4 SMT32F4 ChibiOS 3.0 supported?

Posted: Wed Dec 31, 2014 4:11 pm
by wizhippo
Is anyone having success with this compiler?

I can compile the exact same project using the older 4.7 2014q2 and my project works but using this new version it works for a few seconds the ends up in the unhanded exception handler.

Are there some other compiler options that I should add beyond those in the makefile included with the demo's?

My project does use the cpp_wrappers

Re: GNU 4.9 2014q4 SMT32F4 ChibiOS 3.0 supported?

Posted: Wed Dec 31, 2014 4:45 pm
by Giovanni
I used it on the STM32F4 demo and the test suite apparently ran successfully.

You may have problems caused by different optimizations, for example stack overflows.

Giovanni

Re: GNU 4.9 2014q4 SMT32F4 ChibiOS 3.0 supported?

Posted: Thu Jan 01, 2015 11:28 am
by alex31
I had c++project which was exhibiting the same behavior (launch, but hardfault under certain condition), only with gcc 4.9.

In my case, it was a bug in my code, chSysInit and halInit was called twice.

now all my project compile and run fine with 4.9 (chibios 2.6.7)

Alexandre