- 移除了CAN模块中的DMA相关代码,包括can_dma_init函数、 DMA中断处理函数以及相关的全局变量和头文件包含 - 更新了项目构建配置,将优化级别从balanced改为size以减小 固件体积 - 添加了-fno-exceptions和-fno-rtti编译选项以进一步优化代码 - 升级了GD32C10x_DFP包版本至1.5.0 - 调整了OTA跳转逻辑,增加了更安全的中断和外设关闭处理 - 修复了Flash写入时的重复包处理逻辑,增加错误标志清理机制 - 将AES加密算法中的gf_mul函数标记为noinline属性
46 lines
1.5 KiB
Plaintext
46 lines
1.5 KiB
Plaintext
# CMAKE generated file: DO NOT EDIT!
|
|
# Generated by "Ninja" Generator, CMake Version 3.31
|
|
|
|
# This file contains all the rules used to get the outputs files
|
|
# built from the input files.
|
|
# It is included in the main 'build.ninja'.
|
|
|
|
# =============================================================================
|
|
# Project: Robot_V2
|
|
# Configurations:
|
|
# =============================================================================
|
|
# =============================================================================
|
|
|
|
#############################################
|
|
# Rule for running custom commands.
|
|
|
|
rule CUSTOM_COMMAND
|
|
command = $COMMAND
|
|
description = $DESC
|
|
|
|
|
|
#############################################
|
|
# Rule for re-running cmake.
|
|
|
|
rule RERUN_CMAKE
|
|
command = C:\Users\cbb\.vcpkg\artifacts\2139c4c6\tools.kitware.cmake\3.31.12\bin\cmake.exe --regenerate-during-build -SG:\Robot_v2\BOOT\tmp -BG:\Robot_v2\BOOT\tmp
|
|
description = Re-running CMake...
|
|
generator = 1
|
|
|
|
|
|
#############################################
|
|
# Rule for cleaning all built files.
|
|
|
|
rule CLEAN
|
|
command = C:\Users\cbb\.vcpkg\artifacts\2139c4c6\tools.ninja.build.ninja\1.12.0\ninja.exe $FILE_ARG -t clean $TARGETS
|
|
description = Cleaning all built files...
|
|
|
|
|
|
#############################################
|
|
# Rule for printing all primary targets available.
|
|
|
|
rule HELP
|
|
command = C:\Users\cbb\.vcpkg\artifacts\2139c4c6\tools.ninja.build.ninja\1.12.0\ninja.exe -t targets
|
|
description = All primary targets available:
|
|
|