STM32Cube MX generates basic code according to the peripherals and the selected STM32 board. This generated code can be used in Keil uVision for editing according to requirement. And finally the code is burned into STM32 using ST-Link programmer from STMicroelectronics.