Coding custom interrupt routine, in a Processor Expert application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Coding custom interrupt routine, in a Processor Expert application

1,307 次查看
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 项奖励
回复
3 回复数

1,172 次查看
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

1,172 次查看
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 项奖励
回复

1,172 次查看
BlackNight
NXP Employee
NXP Employee

Hi Luca,

yes, that's correct.

Erich