2022-07-05 06:23 PM
I built a project for the NUCLLEO-G431RB using STM32CubeIDE v 1.9.0. Somewhere along the line, it offered to upgrade to 1.10.0 which I accepted, and it also warned that my ws was tied to an older version, for which I opted to upgrade the ws. (Either of those might have been a mistake!)
But now my build fails with SystemInit, SystemCoreClock and AHBPrescTable showing as undefined. I'm not sure where along the line it happened, but how do I get them back into the project?
2022-07-05 06:37 PM
Half solved:
I created a new project for the NUCLEO-G431RB, searched for SystemInit and found it in Core/Src/system_stm32g4xx.c. I copied that into the failing project and -- lo and behold -- it worked.
What I don't know is what caused system_stm32g4xx.c to vanish in the first place.
2022-07-11 02:35 AM
Hello Robert,
I believe this issue could be related to the regression introduced in STM32CubeIDE 1.10.0. It was mentioned on the community here.
Moving to STM32CubeIDE 1.10.1 should solve the issue.