2015-03-19 12:24 AM
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 #st2015-03-19 04:22 AM
OK thanks - after reading a few other posts - resolved - did not understand the legacy support option in Keil.
2015-03-19 04:31 AM
I have a
similar experience
with
examples from STM32CubeF0
.I had to
be added to the
project settings for
MDK
-
ARM
theinclude directory
Drivers\
CMSIS
\Include
.The project
is
for
Keil
V5.