Method for increasing transportability of AUTOSAR (AUTomotive Open System Architecture) OS MCAL driving code
A technology for driving code and portability, applied in the direction of program startup/switching, multi-programming device, etc., can solve the problems of complex driving module transplantation process, long module development cycle, weak code reusability, etc., to maintain scalability. The effect of reducing the workload of transplanting and shortening the development cycle
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0023] The traditional AUTOSAR OS MCAL driver usually implements all codes in one file, and the interface function conforming to the AUTOSAR standard is named Module_Function.
[0024] Divide the original AUTOSAR OS MCAL driver code structure into two layers, Module.c and Module_Hw.c. Module.c is mainly responsible for the implementation related to the AUTOSAR standard interface, and Module_Hw.c is mainly responsible for the implementation related to the specific hardware platform.
[0025] (1) The Module.c file implements the Module_Function function that complies with the AUTOSAR standard. It internally performs standard error checking and maintains some global variables, and is responsible for calling the Module_Hw.c code layer.
[0026] (2), the Module_Hw.c file implements the specific interface function called by Module.c. This layer is m...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 