feat(cbuild): 更新GD32C10x_DFP包到1.5.0版本并修复多个设备驱动文件

更新了项目中使用的GD32C10x_DFP包从1.0.1版本升级到1.5.0版本,
同时更新了多个RTE设备驱动文件以匹配新版本固件,包括ADC、BKP、CAN、CRC、CTC、DAC、DBG、DMA、EXMC、EXTI、FMC等外设驱动。修复了CAN驱动中的消息传输逻辑,改进了错误处理机制,并统一了标志位获取函数的返回值处理方式。
This commit is contained in:
cbb
2026-05-05 23:39:10 +08:00
parent 46d4bfe8ef
commit c357a8af6f
65 changed files with 1814 additions and 1697 deletions
+15 -15
View File
@@ -53,7 +53,7 @@ rule CXX_COMPILER__Group_device_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_EVAL_GD32C10x_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_EVAL_GD32C10x_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -63,7 +63,7 @@ rule C_COMPILER__GigaDevice_Device_EVAL_GD32C10x_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -73,7 +73,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -83,7 +83,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -93,7 +93,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -103,7 +103,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -113,7 +113,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -123,7 +123,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -133,7 +133,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_0_0_unscanned
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -143,7 +143,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -153,7 +153,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -163,7 +163,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -173,7 +173,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
@@ -183,7 +183,7 @@ rule C_COMPILER__GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_0_0_unscanned
#############################################
# Rule for compiling ASM files.
rule ASM_COMPILER__GigaDevice_Device_Startup_1_0_0_unscanned_
rule ASM_COMPILER__GigaDevice_Device_Startup_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -c -o $out $in
@@ -193,7 +193,7 @@ rule ASM_COMPILER__GigaDevice_Device_Startup_1_0_0_unscanned_
#############################################
# Rule for compiling C files.
rule C_COMPILER__GigaDevice_Device_Startup_1_0_0_unscanned_
rule C_COMPILER__GigaDevice_Device_Startup_1_3_0_unscanned_
depfile = $DEP_FILE
deps = gcc
command = ${LAUNCHER}${CODE_CHECK}c:\Users\cbb\.vcpkg\artifacts\2139c4c6\compilers.arm.armclang\6.24.0\bin\armclang.exe --target=arm-arm-none-eabi $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in