Why doesn't eTPU Graphical Configuration Tool generated code compile?

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

Why doesn't eTPU Graphical Configuration Tool generated code compile?

ソリューションへジャンプ
1,263件の閲覧回数
kentabacchi
Contributor I

I am using eTPU GCT version 1.4.0.4.  I have read the application note about this http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4687.pdf .  I downloaded the deliverable from eTPU Funcion Selector|NXP , such as FPM.

 

I have taken the generated C module and included it in a CodeWarrior IDE version 5.9.0, Build 3510 project.  The macros defined in this file are not found any where in the eTPU Function set deliverable, or any of the generated code from the eTPU GCT.  FS_ETPU_VIS_OFF, for example, and many others.  Also, the structure pointer eTPU is missing.

 

I must be missing some header files.  What am I missing?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,076件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Mentioned macros are defined in ...\etpu\_utils\etpu_util.h

It is needed to include all files downloaded with using of eTPU function selector to your project as well as both files generated by GCT (for instance untitled_etpu_gct.c and untitled_etpu_gct.h).

Also it is needed to call following following function from your user code
my_system_etpu_init();
my_system_etpu_start();

and then you can use eTPU functions according its descriptive appnote

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,077件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Mentioned macros are defined in ...\etpu\_utils\etpu_util.h

It is needed to include all files downloaded with using of eTPU function selector to your project as well as both files generated by GCT (for instance untitled_etpu_gct.c and untitled_etpu_gct.h).

Also it is needed to call following following function from your user code
my_system_etpu_init();
my_system_etpu_start();

and then you can use eTPU functions according its descriptive appnote

0 件の賞賛
返信