interrupt buffer of function and #pragma data section

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

interrupt buffer of function and #pragma data section

728 Views
InHome
Contributor III

Dear NXP Hello,

I want to store all the ISR functions in a buffer and affect the pointer to the INTC->IACKR0 register.

INTC->IACKR0  = (uint32_t) &Buffer[0];

But when I debug this line, IACKRO doesn't have the address, it has a part of the address.

I comprehend that I have to map this buffer to the .bss section interrupt but I don't know how to do this

may be like this but, I am not sure.

#pragma gcc section sbss=".intc_vector_table"

could confirm this or suggest how this could be done?

Thank you in advance,

Taha

 

0 Kudos
1 Reply

717 Views
InHome
Contributor III