Обновление
This commit is contained in:
parent
12a1772a92
commit
5d050b4ec8
|
|
@ -5,10 +5,14 @@
|
|||
#include "DataNonVolatatile_Private.h"
|
||||
|
||||
|
||||
void DeviceDataNonVolatile_InitDefaults(tDeviceDataNonVolatile *env) {
|
||||
void DeviceDataParam_InitDefaults(tDeviceDataNonVolatile *env) {
|
||||
|
||||
DeviceStorageInitDeviceSettings(&env->device);
|
||||
|
||||
env->version = DEVICE_DATA_NO_VOLATILE_VERSION;
|
||||
|
||||
}
|
||||
|
||||
void DeviceDataCalib_InitDefaults(uint8_t *env) {
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
#include <VariablesTable.h>
|
||||
#include "DataRuntime.h"
|
||||
#include "HVAC_preDefine.h"
|
||||
|
||||
#define DEVICE_DATA_NO_VOLATILE_VERSION 0x01
|
||||
|
||||
|
|
@ -73,12 +74,12 @@ typedef struct {
|
|||
|
||||
typedef struct {
|
||||
uint32_t version;
|
||||
|
||||
tDeviceSettings device;
|
||||
|
||||
} tDeviceDataNonVolatile;
|
||||
|
||||
void DeviceDataNonVolatile_InitDefaults(tDeviceDataNonVolatile *env);
|
||||
void DeviceDataParam_InitDefaults(tDeviceDataNonVolatile *env);
|
||||
|
||||
void DeviceDataCalib_InitDefaults(uint8_t *env);
|
||||
|
||||
void DeviceDataNonVolatile_AddToVarTab(
|
||||
tDeviceDataNonVolatile *env,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
//
|
||||
// Created by cfif on 08.08.2025.
|
||||
//
|
||||
|
||||
#ifndef SIMULINK_HVAC_PREDEFINE_H
|
||||
#define SIMULINK_HVAC_PREDEFINE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#define SECT_SRAM_CAL __attribute__((section (".caldata")))
|
||||
#define SECT_FLASH_CAL __attribute__((section (".caltext")))
|
||||
#define SECT_SRAM_NVM __attribute__((section (".nvmdata")))
|
||||
#define tU08 uint8_t
|
||||
#define tU16 uint16_t
|
||||
#define tS16 int16_t
|
||||
#define tS08 int8_t
|
||||
|
||||
#define M_MEMCOPY(dest, src) memcpy(dest, src, sizeof(dest))
|
||||
|
||||
#define ID_TRUE 1
|
||||
#define ID_FALSE 0
|
||||
|
||||
#endif //SIMULINK_HVAC_PREDEFINE_H
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,42 @@
|
|||
/** 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
|
||||
*****************************************************************************/
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/** Doxygen: File brief
|
||||
******************************************************************************
|
||||
* @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
|
||||
* Generated on yyyy-mm-dd hh:mm:ss
|
||||
*****************************************************************************/
|
||||
#ifndef RS_CAL_1_SEDANH_H__
|
||||
#define RS_CAL_1_SEDANH_H__
|
||||
|
||||
/******************************************************************************
|
||||
* INCLUDE FILES
|
||||
*****************************************************************************/
|
||||
#include "rtwtypes.h"
|
||||
#include "HVAC_preDefine.h"
|
||||
#include "common.h"
|
||||
#include "Rs_Cal_Base.h"
|
||||
|
||||
/******************************************************************************
|
||||
* MACRO DECLARATIONS
|
||||
*****************************************************************************/
|
||||
/******************************************************************************
|
||||
* GLOBAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)
|
||||
*****************************************************************************/
|
||||
/******************************************************************************
|
||||
* GLOBAL VARIABLES DECLARATIONS
|
||||
*****************************************************************************/
|
||||
|
||||
/******************************************************************************
|
||||
* GLOBAL FUNCTIONS DECLARATIONS
|
||||
*****************************************************************************/
|
||||
extern void Rs_Cal_1_SedanH(void);
|
||||
|
||||
/* End of Excel line : 34 */
|
||||
#endif /*RS_CAL_1_SEDANH_H__*/
|
||||
/******************************************************************************
|
||||
* EOF
|
||||
*****************************************************************************/
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
//
|
||||
// Created by cfif on 08.08.2025.
|
||||
//
|
||||
|
||||
#ifndef SIMULINK_COMMON_H
|
||||
#define SIMULINK_COMMON_H
|
||||
|
||||
#endif //SIMULINK_COMMON_H
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
//
|
||||
// Created by cfif on 08.08.2025.
|
||||
//
|
||||
|
||||
#ifndef SIMULINK_RTWTYPES_H
|
||||
#define SIMULINK_RTWTYPES_H
|
||||
|
||||
#endif //SIMULINK_RTWTYPES_H
|
||||
Loading…
Reference in New Issue