Обновление

This commit is contained in:
cfif 2026-01-16 13:32:43 +03:00
parent d44d247b7f
commit d8423075e9
1 changed files with 10 additions and 9 deletions

View File

@ -12,15 +12,6 @@
#include "SystemMutexCmsis.h" #include "SystemMutexCmsis.h"
#include "VarsTabDumpObserver.h" #include "VarsTabDumpObserver.h"
#define LOG_XCP 1
#define PROTOCOL_CAN_ADR_XCP 0x250
#define PROTOCOL_CAN_TYPE_XCP 0x0
#define PROTECT_CAL_PAG 1
#define PROTECT_DAQ 1
#define PROTECT_STIM 1
#define PROTECT_PGM 1
typedef enum { typedef enum {
XCP_ERR_CMD_SYNCH = 0x00, XCP_ERR_CMD_SYNCH = 0x00,
@ -232,6 +223,16 @@ typedef struct __attribute__ ((packed)) {
uint8_t ODT_ENTRY_NUMBER; uint8_t ODT_ENTRY_NUMBER;
} eXcpCommand_SET_DAQ_PTR; } eXcpCommand_SET_DAQ_PTR;
#define LOG_XCP 1
#define PROTOCOL_CAN_ADR_XCP 0x250
#define PROTOCOL_CAN_TYPE_XCP 0x0
#define PROTECT_CAL_PAG 1
#define PROTECT_DAQ 1
#define PROTECT_STIM 1
#define PROTECT_PGM 1
#define SECT_SRAM_XCP __attribute__((section (".xcpdata"))) #define SECT_SRAM_XCP __attribute__((section (".xcpdata")))
#define MASTER_BLOCK_MODE 0 #define MASTER_BLOCK_MODE 0