Loading...
 
Skip to main content

System Workbench for STM32


The naked Attribute

France

Hi,

On Cortex-M based processors the "naked" attribute should not be used for ISRs; the processor itself does what is needed so that a normal function can be used as an interrupt handler. The prototype should be:
Copy to clipboard
void ''ISRname''_IRQHandler(void);


Regarding the ISR code, yes, your ISR should only use FromISR versions of the FreeRTOS functions.

Bernard (Ac6)