Associate III
January 13, 2021
Question
Why does CubeProgrammer often duplicate HAL drivers?
- January 13, 2021
- 8 replies
- 3988 views
I am using STM32CubeIDE on MacOS. I am finding that very often, at least every other build, CubeIDE duplicates a bunch of drivers in the HAL driver folder. When that happens the compiler throws a bunch of "multiple definition" errors. To fix that I go into the HAL driver folder and delete all the duplicated. Then all is well until it happens again on the next build or maybe the build after that.
Then, once in a while, there is a long period of time when it doesn't do it. Crazy.
Here is an screenshot of part of my CubeProgrammer GUI showing the dups:
I have also attached a zip of my project.
This is my biggest time waster right now and I'd sure like to know how to stop this from happening. Thanks for your help!
Clark