2017-04-26 01:44 AM
Hi,
I am newbie in System Workshop for STM32. I tried write simple example - LED blink. It works fine.
Now I want to test the same program, but with a timer interrupt.
In file ''stm32f4xx_hal_conf.h'' I enable HAL_TIM_MODULE #define HAL_TIM_MODULE_ENABLED
It appeared errors:
in file ''stm32f4xx_hal_tim.h''
in file: stm32f407xx.h
I use STM32F407-Discovery board. I use HAL_Driver ver 1.7.1.
What is wrong ?
Pekub
Solved! Go to Solution.
2017-04-26 03:27 AM
Hi,
the problem is solved. I made wrong definition in main.c.
Best Regards
Peter
2017-04-26 03:01 AM
Hi
Kubelka.Peter
,As
newbie with System Workbench for STM32, I recommend you to start from ready example under the STM32F4 firmware package :
STM32Cube_FW_F4_V1.0\Projects\STM32F401-Discovery\Examples\TIM\TIM_TimeBase\SW4STM32
-Nesrine-
2017-04-26 03:27 AM
Hi,
the problem is solved. I made wrong definition in main.c.
Best Regards
Peter