paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] Libopencm3 - STM32-F1 change interrupt priority


From: Michal Podhradsky
Subject: [Paparazzi-devel] Libopencm3 - STM32-F1 change interrupt priority
Date: Fri, 19 Apr 2013 15:12:57 -0600

Hi folks,

I have a question about interrupt priorities for STM32F1 chip (Lia 1.1/Lisa_M 2.0).

In sw/ext/libopencm3/include/libopencm3/stm32/f1/nvic.h are defined priorities for user interrupts. However, if I try to change the priority for example for NVIC_USART2_IRQ (let's say make it higher priority than NVIC_USART1_IRQ), theĀ  code compiles, but then the program hangs up instantly in usart_isr interrupt routine (debugged with JTAG).

Can the priorities be set somewhere else or is it a feature to have "hardcoded" priorities?

Thanks
Michal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]