STM32CubeMX generated STMCubeIDE projects, "ThreadSafe" directory seems to end up different places
When using STM32CubeMX v6.10.0 (standalone) to update the pin configuration for an STMCubeIDE v1.14.0 project that has the thread safety option enabled, the code generation creates the directory "ThreadSafe" under "Core/Src", while the IDE's version of STM32CubeMX puts the "ThreadSafe" directory directly under "Core", parallel to the "Src" directory. This breaks the project because the build procedure builds two copies of "newlib_lock_glue.o" and tries to link both into the executable image.
The standalone tool should be updated to use the same directory structure as the version integrated into the IDE.
