Skip to main content
JMill.1
Associate III
December 17, 2019
Question

STM32CubeIDE not generating main() source.

  • December 17, 2019
  • 1 reply
  • 935 views

I recently installed STM32CubeIDE and tried to generate code for a Nucleo board. The IDE generates the HAL drivers, but does not generate main() or any initialization code for the peripherals. How do I get it to do that?  Previously, using CubeMX and TrueStudio this worked just fine.

This topic has been closed for replies.

1 reply

dbgarasiya
Senior
January 25, 2020

somehow you have disable generate main tick in your project configuraion