Coding custom interrupt routine, in a Processor Expert application

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

Coding custom interrupt routine, in a Processor Expert application

920 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

785 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

785 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

785 Views
BlackNight
NXP Employee
NXP Employee

Hi Luca,

yes, that's correct.

Erich