实现大部分小板通信命令

This commit is contained in:
ranchuan
2023-10-07 18:15:52 +08:00
parent 8e3a140bec
commit ffb4ff97b2
21 changed files with 1000 additions and 173 deletions

View File

@@ -55,17 +55,17 @@ uint8_t uc_buf[4];
#define APP_BEG_ADDR 0x8004000
#define APP_END_ADDR 0x8024000
// 模块程序地址
// 这个地址要和 dev_flash.c 中定义的地址相对应
#define MC_CODE_ADDR \
(FLASH_BASE+2048*112+128)
//#define APP_TEST_BOARD_CFG 0x803E800
#define MC_CODE_ADDR 0x803B000
#define APP_TEST_PLAN_ADDR 0x803F000
#define APP_TEST_BOOTFLAG_ADDR 0x803F800
#define FCM_END_ADDR 0x8040000
#define FMC_PAGE_SIZE ((uint16_t)0x800U)
// 方案地址
// 这个地址要和 dev_flash.c 中定义的地址相对应
#define APP_TEST_PLAN_ADDR \
(FLASH_BASE+2048*109+128)
// 方案大小
#define APP_TEST_PLANINFO_SIZE 2048