From 0ff91e66071237834a1501c78648729c8c32f67a Mon Sep 17 00:00:00 2001 From: tao_z <tzj0429@163.com> Date: Wed, 01 Jun 2022 03:18:48 +0800 Subject: [PATCH] 保存bootloader调试到下载flash,以前步骤均ok。 --- Application/include/nvm.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/include/nvm.h b/Application/include/nvm.h index 31a64f3..8015021 100644 --- a/Application/include/nvm.h +++ b/Application/include/nvm.h @@ -57,7 +57,7 @@ NVM_OPERATION_COMPLETE_CALLBACK pfn_complete_cbk; /**< pointer to callback function which executes after the operation completes (success or fail) */ } MEM_OPERATION_Ts; -#define RAM_FALSH_DRIVE_LENGHT (96u) +#define RAM_FALSH_DRIVE_LENGHT (10u) extern uint8_t flashCode[RAM_FALSH_DRIVE_LENGHT + 4]; extern NVM_FLAGS_Ts Nvm_Flags; extern uint8_t Mem_PartionTempBuff[MEM_MAX_TEMP_BUFF_NUM][FBL_MEM_SEGMENT_SIZE]; @@ -67,6 +67,6 @@ extern int8_t NVM_ReInitFlashDriveRam(void); extern void NVM_Init(void); extern bool NVM_Is_Busy(void); -extern uint8_t MEM_PartitionCRCOK(uint8_t partionid); +extern uint8_t MEM_PartitionCRCOK(uint8_t partionid, uint32_t targetcrc); extern uint8_t ApplFblIsValidApp(); #endif -- Gitblit v1.8.0