2025-08-11 9:56 AM
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?
Solved! Go to Solution.
2025-08-12 9:45 AM
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.