- 移除了CAN模块中的DMA相关代码,包括can_dma_init函数、 DMA中断处理函数以及相关的全局变量和头文件包含 - 更新了项目构建配置,将优化级别从balanced改为size以减小 固件体积 - 添加了-fno-exceptions和-fno-rtti编译选项以进一步优化代码 - 升级了GD32C10x_DFP包版本至1.5.0 - 调整了OTA跳转逻辑,增加了更安全的中断和外设关闭处理 - 修复了Flash写入时的重复包处理逻辑,增加错误标志清理机制 - 将AES加密算法中的gf_mul函数标记为noinline属性
41 lines
1.3 KiB
C
41 lines
1.3 KiB
C
/*
|
|
* CSOLUTION generated file: DO NOT EDIT!
|
|
* Generated by: csolution version 2.13.0+p3-g40b6564e
|
|
*
|
|
* Project: 'Robot_V2.Release+GD32C103CB'
|
|
* Target: 'Release+GD32C103CB'
|
|
*/
|
|
|
|
#ifndef RTE_COMPONENTS_H
|
|
#define RTE_COMPONENTS_H
|
|
|
|
|
|
/*
|
|
* Define the Device Header File:
|
|
*/
|
|
#define CMSIS_device_header "gd32c10x.h"
|
|
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:CAN@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_CAN
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:CRC@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_CRC
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:DBG@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_DBG
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:EXTI@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_EXTI
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:FMC@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_FMC
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:GPIO@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_GPIO
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:MISC@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_MISC
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:PMU@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_PMU
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:RCU@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_RCU
|
|
/* GigaDevice::Device:GD32C10x_StdPeripherals:USART@1.3.0 */
|
|
#define RTE_DEVICE_STDPERIPHERALS_USART
|
|
|
|
|
|
#endif /* RTE_COMPONENTS_H */
|