AnsweredAssumed Answered

STM32Cube Driver Build problems when using gcc toolchain

Question asked by Pac-Man on Dec 17, 2014
Latest reply on Dec 24, 2014 by Pac-Man
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 #pragma, but instead I'm using (void)variable; which is cross-compiler compatible.

Outcomes