strange behavior of the scheduler on STM32F070 Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: strange behavior of the scheduler on STM32F070

Post by Giovanni »

I think they fixed it in GCC 9.

Giovanni
josesimoes
Posts: 91
Joined: Sat Feb 18, 2017 11:50 am
Has thanked: 43 times
Been thanked: 23 times

Re: strange behavior of the scheduler on STM32F070

Post by josesimoes »

Just checking if this is still an issue with the latest GCC?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: strange behavior of the scheduler on STM32F070

Post by Giovanni »

Hi,

Yes, still there... the bug is fixed in repository but it did not make it into the distribution. M0 users should stay with 5.4.1 until next GCC release.

Giovanni
networkfusion
Posts: 18
Joined: Thu May 18, 2017 11:57 am
Has thanked: 1 time
Been thanked: 6 times

Re: strange behavior of the scheduler on STM32F070

Post by networkfusion »

How about now...?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: strange behavior of the scheduler on STM32F070

Post by Giovanni »

Hi,

I just tried 9.3.1 2020q2 and looking at generated code it seems to be fine, LR register is preserved in the function prologue, later today I will run some tests and change the preprocessor check in the repository.

The new compiler also supports Cortex-A now, which is very nice.

Giovanni
Post Reply