cancel
Showing results for 
Search instead for 
Did you mean: 

I need help

Peko
Associate III
Posted on April 26, 2017 at 10:44

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:

0690X00000602S7QAI.bmp

in file ''stm32f4xx_hal_tim.h''

0690X00000602SLQAY.bmp

in file: stm32f407xx.h

0690X00000602SaQAI.bmp

I use STM32F407-Discovery board. I use HAL_Driver ver 1.7.1.

What is wrong ?

Pekub    

1 ACCEPTED SOLUTION

Accepted Solutions
Peko
Associate III
Posted on April 26, 2017 at 12:27

Hi,

the problem is solved. I made wrong definition in main.c.

Best Regards

Peter

View solution in original post

2 REPLIES 2
Nesrine M_O
Lead II
Posted on April 26, 2017 at 12:01

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-

Peko
Associate III
Posted on April 26, 2017 at 12:27

Hi,

the problem is solved. I made wrong definition in main.c.

Best Regards

Peter