cancel
Showing results for 
Search instead for 
Did you mean: 

How to import STM32Cube Firmware into a fresh openstm project

juliuscaesar
Associate III
Posted on October 07, 2016 at 13:56

Hey guys,

I downloaded the current Firmware (STM32Cube_FW_F4_V1.13.0) for my

32F429IDISCOVERY Board 

As a start i'd like to import a full demonstration. But when i try to import the SW4STM32 demonstration project the files are not copied to the workspace. Eclipse shows the code structure, but the are no files in my workspace (see pictures;))

The Checkbox copy projects into workspace is checked

http://share-your-photo.com/ced04b4e63

http://share-your-photo.com/dfff8b8d6d

So do you have any ideas how to get the missing files or is there a better way to start a new project (with HAL drivers, display driver and freeRTOS)?

greets Julian

1 REPLY 1
slimen
Senior
Posted on October 07, 2016 at 15:40

Hello,

You can start from working example under STM32CubeF4 firmware package, in the context of understanding the tools and you find the needed include parts for your project.

STM32Cube_FW_F4_V1.13.0\Projects\STM32F429I-Discovery\Applications\FreeRTOS\FreeRTOS_ThreadCreation

You can modify this working application depending on your needs.

To open an existing project with SW4STM32 you should follow this steps below:

• File >>Import

• Existing Projects into workspace (>>Next)

• Click on “Browse� for the root directory

• The projects list is refreshed (select then your project)  

• Ensure the option Copy projects into workspace is unchecked

• Then click Finish.

You can also use STM32CubeMX tool to initialize peripherals, build and generate your starting projects with initialization C code. This allow you to choose the microcontroller, select the peripherals that you want and map them to pins graphically. 

For more detail about STM32CubeMX tool, review this user Manual

http://www.st.com/content/ccc/resource/technical/document/user_manual/10/c5/1a/43/3a/70/43/7d/DM00104712.pdf/files/DM00104712.pdf/jcr:content/translations/en.DM00104712.pdf

 and this  section 4.12.6: FreeRTOS middleware configuration View section (page110).

Regards