How do you use the examples/applications in the Firmware package?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-02 4:56 PM
I have an STM32F429 Discovery Kit (with included LCD screen). I am running Atollic TrueStudio. I want to run one of the examples provided in the FW package at:
...\STM32Cube\Repository\STM32Cube_FW_F4_V1.21.0\Projects\STM32F429I-Discovery\Examples\LTDC\LTDC_Display_2Layers\
First, I tried following the instructions on the Atollic TrueStudio blog found here:
http://blog.atollic.com/how-to-import-thousands-of-stm32cube-example-projects-into-truestudio
The import reported as being completed without errors, but the result was just a mess of folders and files that couldn't possibly compile.
Next, I made a new project using STM32CubeMX with the required peripherals in their default Mode, and then copied the contents of the inc and src subfolders from the FW example into the generated CubeMX project. The trouble is that there are still more #includes I am missing. For example, main.h has in it:
#include "stm32f429i_discovery.h"
#include "../Components/ili9341/ili9341.h"
I did a search of the entire FW package and these files are not there.
I must be doing this wrong. What's the process for using the examples in the FW packages?
Thanks for your help!
~Nick.
Solved! Go to Solution.
- Labels:
-
STM32Cube MCU Packages
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-02 5:29 PM
STM32Cube_FW_F4_V1.21.0\Drivers\BSP\STM32F429I-Discovery\stm32f429i_discovery.h
STM32Cube_FW_F4_V1.21.0\Drivers\BSP\Components\ili9341\ili9341.h
Projects typically contain "Include Paths" used by the compiler, usually relative to the project files themselves.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-02 5:27 PM
You typically use KEIL, IAR or SW4STM32 and load and build those projects.
Atollic, you'll need to figure out how to load, import or recreate the project/workspace
STM32Cube_FW_F4_V1.21.0\Projects\STM32F4-Discovery\Examples\ADC\ADC_RegularConversion_DMA\MDK-ARM\Project.uvprojx
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-02 5:29 PM
STM32Cube_FW_F4_V1.21.0\Drivers\BSP\STM32F429I-Discovery\stm32f429i_discovery.h
STM32Cube_FW_F4_V1.21.0\Drivers\BSP\Components\ili9341\ili9341.h
Projects typically contain "Include Paths" used by the compiler, usually relative to the project files themselves.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-02 6:33 PM
Thanks Clive Two.Zero! I will try installing SW4STM32 and importing them with that. I also appreciate you tracking down those files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-12-02 6:56 PM
To load project into truestudio just drill down in the SW4STM32 folder to find
a ".project" no name just .project
Click on it and truestudio will load and convert it to a true studio project.
STM32F429I-Discovery\Examples\LTDC\LTDC_Display_2Layers\SW4STM32\STM32F429I-Discovery\
If have to be sure you have set up directory locations, I do not remember if default is set up when you loaded the project.
If not go to File -> properties ->C/C++ Build _> Settings ->Directories
