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:
@@ -13,269 +13,269 @@ target_link_libraries(ARM_CMSIS_CORE_4_3_0 INTERFACE
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:EVAL:GD32C10x@1.0.0
|
||||
add_library(GigaDevice_Device_EVAL_GD32C10x_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:EVAL:GD32C10x@1.3.0
|
||||
add_library(GigaDevice_Device_EVAL_GD32C10x_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_eval.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_EVAL_GD32C10x_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_EVAL_GD32C10x_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Utilities"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Utilities"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_EVAL_GD32C10x_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_EVAL_GD32C10x_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_EVAL_GD32C10x_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_EVAL_GD32C10x_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_EVAL_GD32C10x_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_EVAL_GD32C10x_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:CAN@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:CAN@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_can.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_CAN_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:CRC@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:CRC@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_crc.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_CRC_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:DBG@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:DBG@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_dbg.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_DBG_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:DMA@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:DMA@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_dma.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_DMA_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:EXTI@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:EXTI@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_exti.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_EXTI_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:FMC@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:FMC@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_fmc.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_FMC_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:FWDGT@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:FWDGT@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_fwdgt.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_FWDGT_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:GPIO@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:GPIO@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_gpio.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_GPIO_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:MISC@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:MISC@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_misc.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_MISC_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:PMU@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:PMU@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_pmu.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_PMU_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:RCU@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:RCU@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_rcu.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_RCU_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:USART@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:GD32C10x_StdPeripherals:USART@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/gd32c10x_usart.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Firmware/Peripherals/inc"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Firmware/Peripherals/inc"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_StdPeripherals_USART_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:GD32C10x_libopt@1.0.0
|
||||
add_library(GigaDevice_Device_GD32C10x_libopt_1_0_0 INTERFACE)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_libopt_1_0_0 INTERFACE
|
||||
# component GigaDevice::Device:GD32C10x_libopt@1.3.0
|
||||
add_library(GigaDevice_Device_GD32C10x_libopt_1_3_0 INTERFACE)
|
||||
target_include_directories(GigaDevice_Device_GD32C10x_libopt_1_3_0 INTERFACE
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Include"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Include"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_libopt_1_0_0 INTERFACE
|
||||
target_compile_definitions(GigaDevice_Device_GD32C10x_libopt_1_3_0 INTERFACE
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_libopt_1_0_0 INTERFACE
|
||||
target_link_libraries(GigaDevice_Device_GD32C10x_libopt_1_3_0 INTERFACE
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
|
||||
# component GigaDevice::Device:Startup@1.0.0
|
||||
add_library(GigaDevice_Device_Startup_1_0_0 OBJECT
|
||||
# component GigaDevice::Device:Startup@1.3.0
|
||||
add_library(GigaDevice_Device_Startup_1_3_0 OBJECT
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/startup_gd32c10x.s"
|
||||
"${SOLUTION_ROOT}/Robot_V2/RTE/Device/GD32C103CB/system_gd32c10x.c"
|
||||
)
|
||||
target_include_directories(GigaDevice_Device_Startup_1_0_0 PUBLIC
|
||||
target_include_directories(GigaDevice_Device_Startup_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_INCLUDE_DIRECTORIES>
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.0.1/Device/Include"
|
||||
"${CMSIS_PACK_ROOT}/GigaDevice/GD32C10x_DFP/1.5.0/Device/Include"
|
||||
)
|
||||
target_compile_definitions(GigaDevice_Device_Startup_1_0_0 PUBLIC
|
||||
target_compile_definitions(GigaDevice_Device_Startup_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_DEFINITIONS>
|
||||
)
|
||||
target_compile_options(GigaDevice_Device_Startup_1_0_0 PUBLIC
|
||||
target_compile_options(GigaDevice_Device_Startup_1_3_0 PUBLIC
|
||||
$<TARGET_PROPERTY:${CONTEXT},INTERFACE_COMPILE_OPTIONS>
|
||||
)
|
||||
target_link_libraries(GigaDevice_Device_Startup_1_0_0 PUBLIC
|
||||
target_link_libraries(GigaDevice_Device_Startup_1_3_0 PUBLIC
|
||||
${CONTEXT}_ABSTRACTIONS
|
||||
)
|
||||
set(COMPILE_DEFINITIONS
|
||||
|
||||
Reference in New Issue
Block a user