Reading and writing configuration for Java application using Properties class
https://www.codejava.net/coding/reading-and-writing-configuration-for-java-application-using-properties-classLook at Gendata\Rte.html for summary.
C code and header files are generated using the configuration under the following XML files:
BswM_XMI21.xml
Com_XMI21.xml
ComM_XMI21.xml
PduR_XMI21.xml
See Rte.c has all header files included where each header file is auto-generated for each Task function. And, inside Rte.c all Task functions are auto-generated. It needs to be trimmed. Gendata folder has all generated files.
----
Main Two files are Auto-generated: tcb.c and rte.c. You need to trim both if you want to minimize the system.
For every task, the XXX_TASK function is auto-generated in Rte.c inside which XXXX_main() is called.
EcuM_StartupTwo()
-----------------------
TaskInterruptFunc() was thought that main interrupt handling function. But, came to know that it is calling IPC module. So, commented out that.
In Develop/PF/PF_SWC_APL/SRC is having source file for all Application modules. Also, it has fc_swc_XXXXX. What is SWC? This source is having some init functions and seems to be important. And, it has IOCTL calls too.
The fc_sys_SysInit() is the Main System initialization function called in SysSyTsk.c of Develop\PF\PF_SYS_MNG\Src.
It is called from fc_swc_TskSysSystem_Init() from SwcTskSysSystem.c of Develop\PF\PF_SWC_APL\Src. And, it has some main interface functions
fc_swc_TskSysSystem_main -
fc_swc_TskSysSystem_system_timer -
fc_swc_TskSysSystem_SendMessage -
fc_swc_TskSysSystem_RecvMessage -
fc_swc_TskSysSystem_SendStatusChange -
From TASK(TskSysSystem), TskSysSystem_Init() is called and from TskSysSystem_Init(), fc_swc_TskSysSystem_Init() is called.
FT_IPAS\includes\most\GmmostGeneral.h has all FBlockID related to ICCOM.
SysSyTsk.c seems to have Platform dependent functions. Needs to be trimmed out.
No comments:
Post a Comment