Loading...
 
Skip to main content

System Workbench for STM32


Simple Generated Project Missing Include Files

I'm trying to start a new C++ project for the STM32F3DISCOVERY board.

  1. I choose new C++ project
  2. I enter a name
  3. I choose As6 STM32 MCU GCC
  4. I click Next - It advances to the Configuration screen
  5. I click Next with both Debug and Release selected
  6. I choose the STM32F3DISCOVERY board
  7. I choose the Standard Peripherial Library (StfPeriph) firmware. It shows "FirmwareSTM32-Discovery_FW_V1.1.0/" has been found.
  8. I click Finish


It creates a basic project with a minimal main.c which will not compile because it cannot include "stm32f30x.h" and "stm32f3_discovery.h". I scanned my disk looking for them but they are not there. Where should a user expect to find these files? Do I have to download and install them manually from somewhere? I would have expected them to be part of the STM32F3DISCOVERY firmware download, but apparently not. Any guidance would be appreciated.

I am running on Win7 64-bit using:

  • OpenSTM32 IDE 1.10.201607251855

Creating a new workspace, then using the following settings solved this problem.
Image