Your path of files maybe %HomePath% instead of %HOME% , last on env. variable not defined on my system.so files:1- %HomePath%\.stm32cubemx\thirdparties\pdsc\EmbeddedOffice.I-CUBE-FS-RTOS.pdsc2- %HomePath%\.stm32cubemx\thirdparties\pdsc\EmbeddedOffice...
Same problem, Then i tried to update the STMCubeF1 library to version v1.7.0 from v1.4.0 using the latest CubeMX Gui (in my case F1) and the problem is resolved. On a quick look is seems that they choose to remove the lock mechanism.