Generating code with processor expert (KDS) and using it in IAR. Dont know how to disable the error. !!

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

Generating code with processor expert (KDS) and using it in IAR. Dont know how to disable the error. !!

2,029 次查看
volkancoskun
Contributor II

Hello I am trying to run the generated code for kl03z or kl17z on KDS using processor expert. That is sucessfully working and I get no error. However when I am trying to run it on IAR, I have to explicitly remove:"PE_low_level_init() in the main code! And then I can compile it sucessfully! However I don't really know if I am suppose to remove that since it says explicitly in the code that I should NOT do that ! Here is the code snippet :

 

/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
PE_low_level_init();

The error I get :

 

Error[Li005]: no definition for "PE_low_level_init" [referenced from C:\Users\volkan163\workspace.kds\ .

 

I have submitted a picture that shows the error I get.

 

How can I solve this problem ? I want to compile the generated code without errors .

regards,

 

VC

标签 (1)
0 项奖励
回复
2 回复数

1,808 次查看
volkancoskun
Contributor II

Additionally I can't find a "PE_low_level_init.c"  in the generated .c folders but I can see the .h file !

0 项奖励
回复

1,808 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Volkan,

In the generate code of KDS Processor Expert , the function of PE_low_level_init.c

is in the file of "CPU_Init.c" :

pastedImage_1.png


Have a great day,
Alice Yang

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