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?
GCC versions?
Moderator: RoccoMarco
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: GCC versions?
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
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
Re: GCC versions?
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)
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)
- Giovanni
- Site Admin
- Posts: 14893
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: GCC versions?
It would be important to have something reliably not working with specific versions.
Giovanni
Giovanni
Re: GCC versions?
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.
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.