cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube Driver Build problems when using gcc toolchain

pacman
Associate III
Posted on December 17, 2014 at 10:46

I had problems building some of the driver files (especially those found in BSP/Components), so I decided to create a few patches.

These patches removes any and all warnings for building the Component files and the STM32F4 Discovery drivers. Since I have no other boards at the moment, I have not changed the other files.

There are 4 patches, so you can pick and choose what you want. They should not conflict, so I believe they can be applied in any order you wish.

I've also included a minor patch for CMSIS core_cmFunc, to get rid of unused parameters there.

Note: I'm not using &sharppragma, but instead I'm using (void)variable; which is cross-compiler compatible.

#stm32cube #gcc #driver-patch
1 REPLY 1
pacman
Associate III
Posted on December 24, 2014 at 21:51

A minor patch, in order to get rid of warnings in the stm32f4xx_hal_nand.h include file is attached to this post.

________________

Attachments :

no_doubleDeclarations.patch.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzqr&d=%2Fa%2F0X0000000bQN%2F_jZkCsLyS6TEOjGsxQSXMX6TlSH4vKXdzf3kbl5JzVI&asPdf=false