AnsweredAssumed Answered

Open/build examples from the CubeMX repository using System Workbench

Question asked by Ronny Landsverk on Aug 27, 2017
Latest reply on Aug 27, 2017 by Ronny Landsverk

I use a discovery board, STM32F303VCT6 and the CubeMX / System Workbench for the coding (in C).

If I generate a project via CubeMX, I can open this project and build it in System Workbench - no problems.

In CubeMX I have installed library: Firmware Package for Family STM32F3 - version 1.9.0 which downloads a zipped folder in the CubeMX repository path.

This zipped folder contains examples and demonstrations which I wish to test. Following the Getting started with STMCubeF3, I try to open the GPIO_EXTI example project.

I set the workspace using the Switch Workspace >> Other command in System Workbench.

From the Getting started - guide, you should browse to the SW4STM32 directory and open the project using Import >> Existing Project into Workspace. Whatever project I try to open and build, I get Fatal Error: stm32f3xx_hal.h: No such file or directory. I follow the instructions from the Getting started - guide (point by point, exactly),...  I try to copy the stm32f3xx_hal.h file to the workspace, but still I get this problem.


Please guide me as I am in the early stages of understanding the STM32 toolchain and I am not a CS expert. In particular I am not so familiar with CS jargon.