Solved
Getting started working with STMCude IDE and use C++ for my Nucleo board
Installed STM32Cubde IDE on my machine and selected my board.
I was expecting some of the pins/peripherals are set by default but as shown in the screenshot they are not.
How to fix this issue please?

