QuoteThis basically means you can use STM32CubeIDE to build the binary. But then you need to download it to the board via OpenOCD and you CAN NOT configure STM32CubeIDE to use OpenOCD, you have to download stand-alone OpenOCD, ignore STM32CubeIDE and use the stand-alone OpenOCD and the commands described in this document:
Quoteif you wish to use external programmer