feat(ota): OTA功能测试通过,CANFD解包效率优化
- 添加OTA固件升级功能,包括应用程序验证和跳转机制 - 实现CANFD数据传输协议,支持加密和CRC校验 - 优化CAN通信处理,添加调试输出和错误处理 - 更新RTE组件配置,升级csolution版本到2.12.0 - 增加Flash擦除和写入的安全验证机制 - 添加应用程序区域扫描和验证功能 refactor(can): 重构CAN通信模块和OTA数据处理 - 移除未使用的常量定义和辅助函数 - 改进数据解包和加密解密流程 - 添加条件编译调试输出 - 优化Flash操作的安全性和可靠性 chore(build): 更新项目配置和忽略文件 - 添加tmp/和out/目录到.gitignore - 扩展ROM0_SIZE从0x0020000到0x08005000 - 添加bin输出格式支持
This commit is contained in:
+4
-4
@@ -45,13 +45,13 @@ build database: phony Robot_V2.Release+GD32C103CB-database
|
||||
#############################################
|
||||
# Utility command for Robot_V2.Release+GD32C103CB
|
||||
|
||||
build Robot_V2.Release+GD32C103CB: phony CMakeFiles\Robot_V2.Release+GD32C103CB CMakeFiles\Robot_V2.Release+GD32C103CB-complete Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-done Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.hex G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf.map Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-configure Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-database Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-download Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-executes Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-install Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-mkdir Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-patch Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-test Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-update Robot_V2.Release+GD32C103CB-build Robot_V2.Release+GD32C103CB-configure Robot_V2.Release+GD32C103CB-database Robot_V2.Release+GD32C103CB-executes
|
||||
build Robot_V2.Release+GD32C103CB: phony CMakeFiles\Robot_V2.Release+GD32C103CB CMakeFiles\Robot_V2.Release+GD32C103CB-complete Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-done Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.bin G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.hex G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf.map Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-configure Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-database Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-download Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-executes Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-install Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-mkdir Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-patch Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-test Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-update Robot_V2.Release+GD32C103CB-build Robot_V2.Release+GD32C103CB-configure Robot_V2.Release+GD32C103CB-database Robot_V2.Release+GD32C103CB-executes
|
||||
|
||||
|
||||
#############################################
|
||||
# Utility command for Robot_V2.Release+GD32C103CB-build
|
||||
|
||||
build Robot_V2.Release+GD32C103CB-build: phony CMakeFiles\Robot_V2.Release+GD32C103CB-build Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.hex G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf.map Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-configure Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-patch Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-update Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-download Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-mkdir Robot_V2.Release+GD32C103CB-configure
|
||||
build Robot_V2.Release+GD32C103CB-build: phony CMakeFiles\Robot_V2.Release+GD32C103CB-build Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.bin G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.hex G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf.map Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-configure Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-patch Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-update Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-download Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-mkdir Robot_V2.Release+GD32C103CB-configure
|
||||
|
||||
|
||||
#############################################
|
||||
@@ -63,7 +63,7 @@ build Robot_V2.Release+GD32C103CB-configure: phony CMakeFiles\Robot_V2.Release+G
|
||||
#############################################
|
||||
# Utility command for Robot_V2.Release+GD32C103CB-executes
|
||||
|
||||
build Robot_V2.Release+GD32C103CB-executes: phony CMakeFiles\Robot_V2.Release+GD32C103CB-executes Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-executes Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.hex G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf.map Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-configure Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-patch Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-update Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-download Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-mkdir Robot_V2.Release+GD32C103CB-build
|
||||
build Robot_V2.Release+GD32C103CB-executes: phony CMakeFiles\Robot_V2.Release+GD32C103CB-executes Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-executes Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.bin G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.hex G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf.map Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-configure Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-patch Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-update Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-download Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-mkdir Robot_V2.Release+GD32C103CB-build
|
||||
|
||||
|
||||
#############################################
|
||||
@@ -114,7 +114,7 @@ build CMakeFiles\Robot_V2.Release+GD32C103CB-complete Robot_V2.Release+GD32C103C
|
||||
#############################################
|
||||
# Custom command for Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build
|
||||
|
||||
build Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.hex G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf.map | ${cmake_ninja_workdir}Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build: CUSTOM_COMMAND Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-configure || Robot_V2.Release+GD32C103CB-configure
|
||||
build Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.bin G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.hex G$:\Robot_v2\BOOT\out\Robot_V2\GD32C103CB\Release\Robot_V2.axf.map | ${cmake_ninja_workdir}Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-build: CUSTOM_COMMAND Robot_V2.Release+GD32C103CB\src\Robot_V2.Release+GD32C103CB-stamp\Robot_V2.Release+GD32C103CB-configure || Robot_V2.Release+GD32C103CB-configure
|
||||
COMMAND = C:\WINDOWS\system32\cmd.exe /C "cd /D G:\Robot_v2\BOOT\tmp\1 && C:\Users\cbb\.vcpkg\artifacts\2139c4c6\tools.kitware.cmake\3.31.5\bin\cmake.exe -E echo "Building CMake target 'Robot_V2.Release+GD32C103CB'" && C:\Users\cbb\.vcpkg\artifacts\2139c4c6\tools.kitware.cmake\3.31.5\bin\cmake.exe --build G:/Robot_v2/BOOT/tmp/1"
|
||||
DESC = Performing build step for 'Robot_V2.Release+GD32C103CB'
|
||||
pool = console
|
||||
|
||||
Reference in New Issue
Block a user