GNU 4.9 2014q4 SMT32F4 ChibiOS 3.0 supported?

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
wizhippo
Posts: 18
Joined: Thu Oct 31, 2013 3:41 pm

GNU 4.9 2014q4 SMT32F4 ChibiOS 3.0 supported?

Post 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
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: GNU 4.9 2014q4 SMT32F4 ChibiOS 3.0 supported?

Post 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
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: GNU 4.9 2014q4 SMT32F4 ChibiOS 3.0 supported?

Post 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
Post Reply