AnsweredAssumed Answered

stm32cubef4 ----- do examples work

Question asked by b.c on Mar 19, 2015
Latest reply on Mar 19, 2015 by Kolomaznik.Petr.001
I'm new to STM32 so downloaded Keil V5 and stm32cubef4. Tried compiling the first example using the STM32F4-DISCOVERY. I got many errors so changed the include location in the project properties then compiled but got many warnings. Tried to connect to the board with debugger - would not let me. I had installed the ST-Link drivers. 

I decided to try another project - STM32F-DISCO. Same problem again - had to change include directory for a compile but now I get an error :
 ..\..\..\..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c: 2 warnings, 2 errors

I trace this error to : GPIOx->BSRR = GPIO_Pin;
Error = No BSRR member in GPIO Typedefine

Surely this was all tested before release ?

Thanks in advance for any help
 

Outcomes