STM32 PLECS coder does not compile or flash

Update.
I installed the STM32Cube IDE.
Now it seems to work. Despite the fact that I have not used the IDE for anyting.
Perhaps a driver of some kind was required from that package.