refactor(build): 支持A/B分区逻辑

移除sys/flash.h、sys/flash.cpp、sys/initial.h和sys/OTA相关文件的
引用,清理cproject.yml和cbuild.yml中的未使用组件和文件配置。

BREAKING CHANGE: 移除了FlashEEPROM相关功能和接口。
This commit is contained in:
cbb
2026-01-05 00:52:20 +08:00
parent 2f482554f0
commit c7c4451d57
28 changed files with 1676 additions and 1569 deletions
-2
View File
@@ -1,7 +1,6 @@
#include "Can.h"
#include "OTA.h"
#include "config.h"
#include "flash.h"
#include "gd32c10x.h"
#include "gd32c10x_can.h"
#include "gd32c10x_dma.h"
@@ -17,7 +16,6 @@
CAN_transmiter CAN0_transmiter; // CAN初始化
extern BootloaderSystem sys;
extern OTAHandler ota;
extern FlashEEPROM flashEEP;
// 添加DMA相关变量
dma_parameter_struct dma_rx_parameter;