Hello,
first of all, which software from ST do you exactly mean with STM32Cube?
ST provides 'STM32CubeIDE' and 'STM32CubeMX'.
STM32CubeIDE replaced Atollic TrueSTUDIO as standard ST IDE and STM32CubeMX is a tool that helps to configure the Pinout, Clock etc.
When I know that, I'll can give you more advice.
Thank you!
Kind regards,
Tim