Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
STM32: Fix usart irq index #5962
@marcemmers can you please test it in your application for the STM32L0 ?
This worked fine for me on the L073RZ-Nucleo. Have tested all available uarts both on 9600 and 115k.
Did notice this however:
Why not remove the increment numbering from serial_init and also use get_uart_index instead? So:
Yep I think you're right and it should work. It's even better that way !
I'll send a new commit with your proposal.
And the assert adresses this remark:
Build number : 1009
Build number : 700