2020-01-10 06:57 AM
Hi, i created two FreeRTOS tasks. Each task shall print a message via terminal using Uart IT. When i start the program it says processor received an unexpected interrupt. infinite loop.
Whats wrong here?
Thanks.
2020-01-10 07:37 AM
Your stm32f7xx_it.c defines void USARTx_IRQHandler(void), but there is no such interrupt handler.
main.c contains the correct define:
#define USARTx_IRQHandler USART6_IRQHandler
but, that's not visible/effective in stm32f7xx_it.c
Move all those defines from main.c to main.h
2020-01-10 08:59 AM
Okay thanks, it works!