AnsweredAssumed Answered

STM32F4 standard peripheral libraries and a CubeMX HAL project

Question asked by Alexander Hoffman on Aug 13, 2017
Latest reply on Aug 15, 2017 by Amel N

Hi all,


I am not the most skilled when it comes to putting projects together with various libraries. So this entire area is a steep learning curve for me. I am trying to get a FreeRTOS project for the stm32F429i-DISC1 board going using CubeMX to generate the basic FreeRTOS project code then I am hoping to use the uGFX library as I have worked with it a lot in the past.

 

After generating a "generic" FreeRTOS project through Cube and adding in all the necessary uGFX libraries I can get uGFX to compile, with one small error. It looks for the header stm32f429i_discovery_lcd.h which I believe is part of the standard peripheral libraries. As such I started again, this time just trying to get a FreeRTOS project to compile whilst including the standard peripheral libraries for the stm32f429i discovery board.

 

I downloaded the STM32F429 discovery firmware package from here http://www.st.com/en/evaluation-tools/32f429idiscovery.html and have then included the following directories in my project 

This seems leads me to many errors similar to "Description Resource Path Location Type
conflicting types for 'DMA_InitTypeDef' stm32f4xx_dma.h /DiscWRTOSWugfx/Libraries/STM32F429I-Discovery/Libraries/STM32F4xx_StdPeriph_Driver/inc line 110 C/C++ Problem" where there is obvious clashes between the HAL libraries and the standard peripheral libraries. So my biggest question/s is, how does one integrate the two libraries or if that is not possible how would one generate an RTOS project for the discovery board using the standard peripheral libraries?


Or somewhere I can go to read up on this topic? I have not been able to find anything.

 

Thank you in advance

Outcomes