GCC versions?

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

mobyfab
Posts: 483
Joined: Sat Nov 19, 2011 6:47 pm
Location: Le Mans, France
Has thanked: 21 times
Been thanked: 30 times

GCC versions?

Postby mobyfab » Sat Nov 19, 2016 2:45 pm

Hi,

So I'm trying a bunch of GCC versions, with and without LTO, with and without FPU. Latest ChibiOS/RT.

So far the only version that fully works is 4.8, 4.7 used to work without LTO.
I have tried 4.9, 5.2, 5.4, all from ARM.

This is for an STM32F303.

Did anyone have some luck with some of these versions?

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: GCC versions?

Postby Giovanni » Sat Nov 19, 2016 5:27 pm

Hi,

4.9 is included in ChibiStudio and works, I am working with 5.2 also. All taken from here: https://launchpad.net/gcc-arm-embedded

You need to provide example of things that do not work as expected and specify if it is a self-built compiler.

Giovanni

mobyfab
Posts: 483
Joined: Sat Nov 19, 2011 6:47 pm
Location: Le Mans, France
Has thanked: 21 times
Been thanked: 30 times

Re: GCC versions?

Postby mobyfab » Sat Nov 19, 2016 10:30 pm

These are all from ARM as I said, same link as you.

I will make some tests with my F3 discovery board, right now I only tried to compile my project which uses a custom board.

Edit: it seems to work fine on the discovery board with 5.4, FPU and LTO (USB CDC Example)

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: GCC versions?

Postby Giovanni » Sat Nov 19, 2016 10:50 pm

It would be important to have something reliably not working with specific versions.

Giovanni

mobyfab
Posts: 483
Joined: Sat Nov 19, 2011 6:47 pm
Location: Le Mans, France
Has thanked: 21 times
Been thanked: 30 times

Re: GCC versions?

Postby mobyfab » Sun Nov 20, 2016 2:44 am

Yes,

I was actually caused by the ARM DSP library. I updated it to CMSIS 5 and it works fine now. (https://github.com/ARM-software/CMSIS_5)

I'm using GCC 5.4.


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 18 guests