MK60N512MD100 -- LDD_SetClockConfiguration method

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

MK60N512MD100 -- LDD_SetClockConfiguration method

ソリューションへジャンプ
1,766件の閲覧回数
emilien
Contributor III

Hi,

 

   I'm using processor expert + IAR + MQX on a twr-k60n512. I use MK60N512MD100 as a component. When I try to compile the generated code, my Linker complains and says:

Error[Li006]: duplicate definitions for "LDD_SetClockConfiguration"; in "C:\Users\emilien\workspace\filter\Debug\Obj\PE_LDD.o", and  "bsp_cm.o(bsp_twrk60n512_d.a)"
(ie this method is already defined in my board support package).

I could not find how to configure the component so that it does not generate such function, any ideas ?

If I remove it from the PE_LDD.c file, obviously it works but I have to do it each time I generate the code.

 

Best regards,

 

--

Emilien

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,481件の閲覧回数
ProcessorExpert
Senior Contributor III

I suppose that problem is that you are using Processor Expert in your application project. As far as I know, you can currently only use PEx in BSP project only.

Your application project should then use this BSP as a library and call the functions and define events defined in the BSP project. To modify Processor Expert settings - you need to import the BSP project, edit the component settings, add components, add some code interfacing the components etc. generated the code and  re-compile. 

 

best regards
Petr Hradsky
Processor Expert Support Team

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,481件の閲覧回数
ProcessorExpert
Senior Contributor III

Hi,

 

could you please be more specific in what MQX version do you use and how did you created the project and BSP?

 

best regards
Petr Hradsky
Processor Expert Support Team

 

0 件の賞賛
返信
1,481件の閲覧回数
emilien
Contributor III

Hi,

 

Sorry for the delayed answer, I use MQX 3.8, and the generated file reports these versions:

** Project : ProcessorExpert
** Processor : MK60DN512ZVMD10
** Component : MK60N512MD100
** Version : Component 01.032, Driver 01.03, CPU db: 3.00.003
** Datasheet : K60P144M100SF2RM, Rev. 5, 8 May 2011
** Compiler : IAR ARM C Compiler

I created the project from scratch following the PE getstarted guide, and I use the bsp provided with MQX.

 

Best regards,

 

-- 

Emilien

0 件の賞賛
返信
1,482件の閲覧回数
ProcessorExpert
Senior Contributor III

I suppose that problem is that you are using Processor Expert in your application project. As far as I know, you can currently only use PEx in BSP project only.

Your application project should then use this BSP as a library and call the functions and define events defined in the BSP project. To modify Processor Expert settings - you need to import the BSP project, edit the component settings, add components, add some code interfacing the components etc. generated the code and  re-compile. 

 

best regards
Petr Hradsky
Processor Expert Support Team

 

0 件の賞賛
返信