Coding custom interrupt routine, in a Processor Expert application

cancel
Showing results for 
Search instead for 
Did you mean: 

Coding custom interrupt routine, in a Processor Expert application

211 Views
lucaag
Contributor III

Hello,

Due to lack of program memory, I need to re-write SPI interrupt routines, to optimize code size.

Are there any article or AN, describing how to interact with PE Generated_Code without causing any issue?

I've seen PE creates its own vector table, in file vector.c, but I wouldn't like to modify it.

Thank you in advance

Luca

0 Kudos
3 Replies

76 Views
BlackNight
NXP Employee
NXP Employee

Hi Luca,

you can disable code generation for each component, see Disable my Code Generation | MCU on Eclipse .

I hope this helps,

Erich

76 Views
lucaag
Contributor III

Thank you Erich.

The article is useful.

So, I should first generate the code, than modify and than disable the code generation. Is it correct?

 

Luca

0 Kudos

76 Views
BlackNight
NXP Employee
NXP Employee

Hi Luca,

yes, that's correct.

Erich