How To keep personal code with Processor Expert

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How To keep personal code with Processor Expert

ソリューションへジャンプ
798件の閲覧回数
holyhope
Contributor III

Hi to All,

I need to keep my personal code in file:

uartCom1.c

that is auto generate by Processor Expert.

Because there is a BUG I need to NOT autoinitialize my UART code and initialize it in another place.

But I need to keep the variable

uart_state_t uartCom1_State;

and other things that I write in uartCom1.c... but evry time I generate code with processor expert it delete all my uart_state_t uartCom1_State; so it is very boring ALL time rewrite it...

How I can keep my personal code inside Processor-Expert's managed .c files?

Thanks

0 件の賞賛
返信
1 解決策
663件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Massimiliano:

The next tutorial by colleague Erich Styger might answer your question:

Disable my Code Generation | MCU on Eclipse

You need to disable code generation for UART so that your changes are preserved.


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
663件の閲覧回数
holyhope
Contributor III

Hi to all,

Many thanks.

I'm using MQX on KDS, your answer explain me how to retain my code. Many thanks

Massimiliano

0 件の賞賛
返信
664件の閲覧回数
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Massimiliano:

The next tutorial by colleague Erich Styger might answer your question:

Disable my Code Generation | MCU on Eclipse

You need to disable code generation for UART so that your changes are preserved.


Regards!,
Jorge Gonzalez

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
663件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello Massimiliano,

Are you using MQX? If you are using MQX please check the MQX_CW10_Getting_Started document (page 42) that you can find at the path: C:\Freescale\Freescale_MQX_4_1\doc\tools


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------