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?
解決済! 解決策の投稿を見る。
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
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