Loading...
 
Skip to main content

System Workbench for STM32


Missing stdio.h?

Hi, sorry for coming in "late".

I think you are trying to compile with the wrong "perspective" or something.

.cpp and stdio.h etc are C++ files.

Make sure that the code generated and the project you are trying to compile starts with:

  1. include "main.h"
  2. include "stm32f1xx_hal.h"
  3. include "cmsis_os.h"


or similar.

Also, check in STM32CubeMX that the "Toolchain/IDE" selected is "SW4STM32".

Once the code is generated, the CubeMX tool will prompt you if it ca nopen eclipse and your project.

Then take it from there.