Обновление

This commit is contained in:
cfif 2025-10-30 15:14:01 +03:00
parent 5d050b4ec8
commit 37b16badf5
16 changed files with 10992 additions and 54 deletions

View File

@ -3,7 +3,11 @@
//
#include <string.h>
#include "DataNonVolatatile_Private.h"
#include "Rs_Cal_0_SedanL.h"
#include "Rs_Cal_1_SedanH.h"
#include "Rs_Cal_2_Limo.h"
#include "Rs_Cal_3_Suv.h"
#include "Rs_Cal_4_Mpv.h"
void DeviceDataParam_InitDefaults(tDeviceDataNonVolatile *env) {
@ -14,5 +18,5 @@ void DeviceDataParam_InitDefaults(tDeviceDataNonVolatile *env) {
}
void DeviceDataCalib_InitDefaults(uint8_t *env) {
Rs_Cal_0_SedanL();
}

View File

@ -11,6 +11,13 @@
#define SECT_SRAM_CAL __attribute__((section (".caldata")))
#define SECT_FLASH_CAL __attribute__((section (".caltext")))
#define SECT_SRAM_NVM __attribute__((section (".nvmdata")))
#define SECT_VEH_CAL_0
#define SECT_VEH_CAL_1
#define SECT_VEH_CAL_2
#define SECT_VEH_CAL_3
#define SECT_VEH_CAL_4
#define tU08 uint8_t
#define tU16 uint16_t
#define tS16 int16_t

View File

@ -2,13 +2,12 @@
******************************************************************************
* @file Rs_Cal_Base.c
* @brief No brief
* @remark Generated by Z:\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD>\Rs_Cal_R20_ver14_250521.xlsm
* @remark Generated by C:\9999\Rs_Cal_R23_ver21_SedanL.xlsm
* Generated on yyyy-mm-dd hh:mm:ss
*****************************************************************************/
/******************************************************************************
* INCLUDE FILES
*****************************************************************************/
#include "HVAC_preDefine.h"
#include "Rs_Cal_Base.h"
/******************************************************************************
@ -894,7 +893,7 @@ SECT_SRAM_CAL tU08 g_aucREAR_CENT_DRS_PERCENT_AF[9] = { 0};
SECT_SRAM_CAL tU16 g_ausMIN_PWM[2] = { 0};
/* ------------------------------------------MinPWM: End*/
SECT_SRAM_CAL tS16 g_assSTART_ENTER_COOLANT[6] = { 0};
SECT_SRAM_CAL tS16 g_assSTART_ENTER_COOLANT_LV2[8] = { 0};
SECT_SRAM_CAL tS16 g_assSTART_COOLANT_STEP0_TO_1[8] = { 0};
SECT_SRAM_CAL tS16 g_assSTART_COOLANT_TO_STEP2[3] = { 0};
SECT_SRAM_CAL tS16 g_assSTART_COOLANT_STEP1_BLR_F[6] = { 0};
SECT_SRAM_CAL tS16 g_assSTART_COOLANT_STEP1_BLR_R[6] = { 0};
@ -1073,6 +1072,9 @@ SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi_Bi2[9] = { 0};
SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi_Vent[9] = { 0};
SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi2_Vent[9] = { 0};
/* ------------------------------------------Different blower Front: End*/
SECT_SRAM_CAL tU16 g_usAromaPwm_Min = 0;
SECT_SRAM_CAL tU16 g_usAromaPwm_Max = 0;
/* ------------------------------------------Aroma Limit Pwm: End*/
/*********************************************************Cal Table End*/
/******************************************************************************
@ -1087,7 +1089,7 @@ SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi2_Vent[9] = { 0};
/******************************************************************************
* LOCAL FUNCTIONS
*****************************************************************************/
/* End of Excel line : 1089 */
/* End of Excel line : 1092 */
/******************************************************************************
* EOF
*****************************************************************************/

View File

@ -2,7 +2,7 @@
******************************************************************************
* @file Rs_Cal_Base.h
* @brief No brief
* @remark Generated by Z:\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD>\Rs_Cal_R20_ver14_250521.xlsm
* @remark Generated by C:\9999\Rs_Cal_R23_ver21_SedanL.xlsm
* Generated on yyyy-mm-dd hh:mm:ss
*****************************************************************************/
#ifndef RS_CAL_BASE_H__
@ -896,7 +896,7 @@ extern SECT_SRAM_CAL tU08 g_aucREAR_CENT_DRS_PERCENT_AF[9];
extern SECT_SRAM_CAL tU16 g_ausMIN_PWM[2];
/* ------------------------------------------MinPWM: End*/
extern SECT_SRAM_CAL tS16 g_assSTART_ENTER_COOLANT[6];
extern SECT_SRAM_CAL tS16 g_assSTART_ENTER_COOLANT_LV2[8];
extern SECT_SRAM_CAL tS16 g_assSTART_COOLANT_STEP0_TO_1[8];
extern SECT_SRAM_CAL tS16 g_assSTART_COOLANT_TO_STEP2[3];
extern SECT_SRAM_CAL tS16 g_assSTART_COOLANT_STEP1_BLR_F[6];
extern SECT_SRAM_CAL tS16 g_assSTART_COOLANT_STEP1_BLR_R[6];
@ -1075,13 +1075,16 @@ extern SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi_Bi2[9];
extern SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi_Vent[9];
extern SECT_SRAM_CAL tU16 g_ausDbF_Pwm_Bi2_Vent[9];
/* ------------------------------------------Different blower Front: End*/
extern SECT_SRAM_CAL tU16 g_usAromaPwm_Min;
extern SECT_SRAM_CAL tU16 g_usAromaPwm_Max;
/* ------------------------------------------Aroma Limit Pwm: End*/
/*********************************************************Cal Table End*/
/******************************************************************************
* GLOBAL FUNCTIONS DECLARATIONS
*****************************************************************************/
/* End of Excel line : 1084 */
/* End of Excel line : 1087 */
#endif /*RS_CAL_BASE_H__*/
/******************************************************************************
* EOF

View File

@ -1,42 +0,0 @@
/** Doxygen: File brief
******************************************************************************
* @file Rs_Cal_1_SedanH.c
* @brief No brief
* @remark Generated by Z:\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD>\Rs_Cal_R20_ver14_250521.xlsm
* Generated on yyyy-mm-dd hh:mm:ss
*****************************************************************************/
/******************************************************************************
* INCLUDE FILES
*****************************************************************************/
#include "Rs_Cal_Flash.h"
/******************************************************************************
* MACRO DECLARATIONS
*****************************************************************************/
/*PRQA S 0615 EOF #suppress : More than 511 block scope identifiers, from Calibration data table, No impact*/
/*PRQA S 1514 EOF #suppress : In the same translation(used != defined), from Calibration data table, No impact*/
/*PRQA S 3408 EOF #suppress : To manage Cal. data separately, from Calibration data table, No Impact*/
/******************************************************************************
* LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
*****************************************************************************/
/******************************************************************************
* GLOBAL VARIABLES DECLARATIONS
*****************************************************************************/
/******************************************************************************
* LOCAL VARIABLES DECLARATIONS
*****************************************************************************/
/******************************************************************************
* LOCAL FUNCTIONS DECLARATIONS
*****************************************************************************/
/******************************************************************************
* GLOBAL FUNCTIONS
*****************************************************************************/
/******************************************************************************
* LOCAL FUNCTIONS
*****************************************************************************/
/* End of Excel line : 2153 */
/******************************************************************************
* EOF
*****************************************************************************/

2162
calib/Rs_Cal_0_SedanL.c Normal file

File diff suppressed because it is too large Load Diff

38
calib/Rs_Cal_0_SedanL.h Normal file
View File

@ -0,0 +1,38 @@
/** Doxygen: File brief
******************************************************************************
* @file Rs_Cal_0_SedanL.h
* @brief No brief
* @remark Generated by C:\9999\Rs_Cal_R23_ver21_SedanL.xlsm
* Generated on yyyy-mm-dd hh:mm:ss
*****************************************************************************/
#ifndef RS_CAL_0_SEDANL_H__
#define RS_CAL_0_SEDANL_H__
/******************************************************************************
* INCLUDE FILES
*****************************************************************************/
#include "rtwtypes.h"
#include "common.h"
#include "HVAC_preDefine.h"
#include "Rs_Cal_Base.h"
/******************************************************************************
* MACRO DECLARATIONS
*****************************************************************************/
/******************************************************************************
* GLOBAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
*****************************************************************************/
/******************************************************************************
* GLOBAL VARIABLES DECLARATIONS
*****************************************************************************/
extern SECT_VEH_CAL_0 const tU08 c_ucCalFromRelease_SedanL;
/******************************************************************************
* GLOBAL FUNCTIONS DECLARATIONS
*****************************************************************************/
extern void Rs_Cal_0_SedanL(void);
/* End of Excel line : 34 */
#endif /*RS_CAL_0_SEDANL_H__*/
/******************************************************************************
* EOF
*****************************************************************************/

2162
calib/Rs_Cal_1_SedanH.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
******************************************************************************
* @file Rs_Cal_1_SedanH.h
* @brief No brief
* @remark Generated by Z:\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<EFBFBD><EFBFBD>\Rs_Cal_R20_ver14_250521.xlsm
* @remark Generated by C:\9999\Rs_Cal_R23_ver21_SedanL.xlsm
* Generated on yyyy-mm-dd hh:mm:ss
*****************************************************************************/
#ifndef RS_CAL_1_SEDANH_H__
@ -12,8 +12,8 @@
* INCLUDE FILES
*****************************************************************************/
#include "rtwtypes.h"
#include "HVAC_preDefine.h"
#include "common.h"
#include "HVAC_preDefine.h"
#include "Rs_Cal_Base.h"
/******************************************************************************
@ -25,7 +25,7 @@
/******************************************************************************
* GLOBAL VARIABLES DECLARATIONS
*****************************************************************************/
extern SECT_VEH_CAL_1 const tU08 c_ucCalFromRelease_SedanH;
/******************************************************************************
* GLOBAL FUNCTIONS DECLARATIONS
*****************************************************************************/

2162
calib/Rs_Cal_2_Limo.c Normal file

File diff suppressed because it is too large Load Diff

38
calib/Rs_Cal_2_Limo.h Normal file
View File

@ -0,0 +1,38 @@
/** Doxygen: File brief
******************************************************************************
* @file Rs_Cal_2_Limo.h
* @brief No brief
* @remark Generated by C:\9999\Rs_Cal_R23_ver21_SedanL.xlsm
* Generated on yyyy-mm-dd hh:mm:ss
*****************************************************************************/
#ifndef RS_CAL_2_LIMO_H__
#define RS_CAL_2_LIMO_H__
/******************************************************************************
* INCLUDE FILES
*****************************************************************************/
#include "rtwtypes.h"
#include "common.h"
#include "HVAC_preDefine.h"
#include "Rs_Cal_Base.h"
/******************************************************************************
* MACRO DECLARATIONS
*****************************************************************************/
/******************************************************************************
* GLOBAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
*****************************************************************************/
/******************************************************************************
* GLOBAL VARIABLES DECLARATIONS
*****************************************************************************/
extern SECT_VEH_CAL_2 const tU08 c_ucCalFromRelease_Limo;
/******************************************************************************
* GLOBAL FUNCTIONS DECLARATIONS
*****************************************************************************/
extern void Rs_Cal_2_Limo(void);
/* End of Excel line : 34 */
#endif /*RS_CAL_2_LIMO_H__*/
/******************************************************************************
* EOF
*****************************************************************************/

2162
calib/Rs_Cal_3_Suv.c Normal file

File diff suppressed because it is too large Load Diff

38
calib/Rs_Cal_3_Suv.h Normal file
View File

@ -0,0 +1,38 @@
/** Doxygen: File brief
******************************************************************************
* @file Rs_Cal_3_Suv.h
* @brief No brief
* @remark Generated by C:\9999\Rs_Cal_R23_ver21_SedanL.xlsm
* Generated on yyyy-mm-dd hh:mm:ss
*****************************************************************************/
#ifndef RS_CAL_3_SUV_H__
#define RS_CAL_3_SUV_H__
/******************************************************************************
* INCLUDE FILES
*****************************************************************************/
#include "rtwtypes.h"
#include "common.h"
#include "HVAC_preDefine.h"
#include "Rs_Cal_Base.h"
/******************************************************************************
* MACRO DECLARATIONS
*****************************************************************************/
/******************************************************************************
* GLOBAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
*****************************************************************************/
/******************************************************************************
* GLOBAL VARIABLES DECLARATIONS
*****************************************************************************/
extern SECT_VEH_CAL_3 const tU08 c_ucCalFromRelease_Suv;
/******************************************************************************
* GLOBAL FUNCTIONS DECLARATIONS
*****************************************************************************/
extern void Rs_Cal_3_Suv(void);
/* End of Excel line : 34 */
#endif /*RS_CAL_3_SUV_H__*/
/******************************************************************************
* EOF
*****************************************************************************/

2162
calib/Rs_Cal_4_Mpv.c Normal file

File diff suppressed because it is too large Load Diff

38
calib/Rs_Cal_4_Mpv.h Normal file
View File

@ -0,0 +1,38 @@
/** Doxygen: File brief
******************************************************************************
* @file Rs_Cal_4_Mpv.h
* @brief No brief
* @remark Generated by C:\9999\Rs_Cal_R23_ver21_SedanL.xlsm
* Generated on yyyy-mm-dd hh:mm:ss
*****************************************************************************/
#ifndef RS_CAL_4_MPV_H__
#define RS_CAL_4_MPV_H__
/******************************************************************************
* INCLUDE FILES
*****************************************************************************/
#include "rtwtypes.h"
#include "common.h"
#include "HVAC_preDefine.h"
#include "Rs_Cal_Base.h"
/******************************************************************************
* MACRO DECLARATIONS
*****************************************************************************/
/******************************************************************************
* GLOBAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
*****************************************************************************/
/******************************************************************************
* GLOBAL VARIABLES DECLARATIONS
*****************************************************************************/
extern SECT_VEH_CAL_4 const tU08 c_ucCalFromRelease_Mpv;
/******************************************************************************
* GLOBAL FUNCTIONS DECLARATIONS
*****************************************************************************/
extern void Rs_Cal_4_Mpv(void);
/* End of Excel line : 34 */
#endif /*RS_CAL_4_MPV_H__*/
/******************************************************************************
* EOF
*****************************************************************************/

View File

@ -8,9 +8,11 @@
],
"cmake": {
"inc_dirs": [
"./calib",
"./"
],
"srcs": [
".calib/**.c",
"./**.c"
]
}