i changed trgo configuration , but it doesn’t work
the full code is the following :
stm32f4xx_it.c
http://pastebin.com/2bj5qWbu
main.c
http://pastebin.com/Au0TQYgP
stm32f4xx_hal_msp.c
http://pastebin.com/bCnp6SV8
I can’t understand why it doesn’t work :
If I add overflow interrupt on this code , on master timer ( TIM3 ) it works ( toggle ld2 led). But using trigger interrupt or overflow interrupt on slave ( TIM4 ) , nothing happen
now it wokrs. thank you
ok
found the first problem : I defined STM32F4xE instead of STM32F401xE
but it still doesn’t build : now gcc throws these errors
1 2 3 4 5 |
'TIM6_DAC_IRQn' undeclared (first use in this function) stm32f4xx_hal_timebase_tim_template.c /test1/system/src/stm32f4xx line 81 C/C++ Problem 'TIM6' undeclared (first use in this function) stm32f4xx_hal_timebase_tim_template.c /test1/system/src/stm32f4xx line 109 C/C++ Problem make: *** [system/src/stm32f4xx/stm32f4xx_hal_timebase_tim_template.o] Error 1 test1 C/C++ Problem recipe for target 'system/src/stm32f4xx/stm32f4xx_hal_timebase_tim_template.o' failed subdir.mk /test1/Debug/system/src/stm32f4xx line 219 C/C++ Problem |