cancel
Showing results for 
Search instead for 
Did you mean: 

Switching STM32C011F4U6TR to STM32C071G8U6 - many errors

kzsd
Associate II

Hi

I am trying to switch a project from one MCU to the another. I made a new IOC file in MX and then replaced the existing IOC file in my IDE project with my fresh file. The overall configuration is identical except for the pinout, and I use a mix of HAL and LL libraries. The Drivers folder is giving me a boat-load of errors, but all of my user code seems to be fine.

I have tried cleaning/rebuilding the project, starting fresh with just the new IOC file, deleting the Drivers folder, saving and regenerating code, and more. The errors won't go away. I have attached the output.

What can I do to fix this? Are there any common mistakes or recommended fixes for this situation?

10 REPLIES 10
TDK
Super User

It sounds like you have the EWARM toolchain selected, not STM32CubeIDE.

In the IOC file you provided, STM32CubeIDE is selected. Perhaps you are using some other file.

If you feel a post has answered your question, please click "Accept as Solution".