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:
@@ -6,9 +6,9 @@ Memory Map of the image
|
||||
|
||||
Image Entry point : 0x08000165
|
||||
|
||||
Load Region LR_ROM0 (Base: 0x08000000, Size: 0x00005180, Max: 0x08006000, ABSOLUTE)
|
||||
Load Region LR_ROM0 (Base: 0x08000000, Size: 0x00005140, Max: 0x08006000, ABSOLUTE)
|
||||
|
||||
Execution Region ER_ROM0 (Base: 0x08000000, Size: 0x00005088, Max: 0x08006000, ABSOLUTE)
|
||||
Execution Region ER_ROM0 (Base: 0x08000000, Size: 0x00005048, Max: 0x08006000, ABSOLUTE)
|
||||
|
||||
Base Addr Size Type Attr Idx E Section Name Object
|
||||
|
||||
@@ -79,110 +79,110 @@ Memory Map of the image
|
||||
0x08002dc2 0x0000000a Code RO 1350 .text.__cxa_get_globals_fast libcppabi_wx.l(cxa_exception_storage.cpp.o)
|
||||
0x08002dcc 0x00000026 Code RO 233 .text.can_deinit gd32c10x_can.o
|
||||
0x08002df2 0x00000002 PAD
|
||||
0x08002df4 0x00000114 Code RO 239 .text.can_fd_init gd32c10x_can.o
|
||||
0x08002f08 0x000000b2 Code RO 241 .text.can_filter_init gd32c10x_can.o
|
||||
0x08002fba 0x00000002 PAD
|
||||
0x08002fbc 0x00000176 Code RO 237 .text.can_init gd32c10x_can.o
|
||||
0x08003132 0x00000002 PAD
|
||||
0x08003134 0x00000008 Code RO 283 .text.can_interrupt_enable gd32c10x_can.o
|
||||
0x0800313c 0x00000016 Code RO 293 .text.can_interrupt_flag_clear gd32c10x_can.o
|
||||
0x08003152 0x00000002 PAD
|
||||
0x08003154 0x00000066 Code RO 291 .text.can_interrupt_flag_get gd32c10x_can.o
|
||||
0x080031ba 0x00000002 PAD
|
||||
0x080031bc 0x000001f4 Code RO 267 .text.can_message_receive gd32c10x_can.o
|
||||
0x080033b0 0x000001f0 Code RO 261 .text.can_message_transmit gd32c10x_can.o
|
||||
0x080035a0 0x00000072 Code RO 235 .text.can_struct_para_init gd32c10x_can.o
|
||||
0x08003612 0x00000002 PAD
|
||||
0x08003614 0x000001b0 Code RO 161 .text.canfd_config Can.o
|
||||
0x080037c4 0x00000238 Code RO 99 .text.check_sleep initial.o
|
||||
0x080039fc 0x00000066 Code RO 319 .text.crc_block_data_calculate gd32c10x_crc.o
|
||||
0x08003a62 0x00000002 PAD
|
||||
0x08003a64 0x00000012 Code RO 309 .text.crc_data_register_reset gd32c10x_crc.o
|
||||
0x08003a76 0x00000002 PAD
|
||||
0x08003a78 0x00000018 Code RO 307 .text.crc_deinit gd32c10x_crc.o
|
||||
0x08003a90 0x00000024 Code RO 66 .text.delay_1ms systick.o
|
||||
0x08003ab4 0x00000028 Code RO 64 .text.delay_1us systick.o
|
||||
0x08003adc 0x00000018 Code RO 68 .text.delay_decrement systick.o
|
||||
0x08003af4 0x00000024 Code RO 371 .text.dma_channel_enable gd32c10x_dma.o
|
||||
0x08003b18 0x00000074 Code RO 361 .text.dma_init gd32c10x_dma.o
|
||||
0x08003b8c 0x00000022 Code RO 407 .text.dma_interrupt_enable gd32c10x_dma.o
|
||||
0x08003bae 0x00000002 PAD
|
||||
0x08003bb0 0x0000000e Code RO 405 .text.dma_interrupt_flag_clear gd32c10x_dma.o
|
||||
0x08003bbe 0x00000002 PAD
|
||||
0x08003bc0 0x0000003a Code RO 403 .text.dma_interrupt_flag_get gd32c10x_dma.o
|
||||
0x08003bfa 0x00000002 PAD
|
||||
0x08003bfc 0x0000001a Code RO 359 .text.dma_struct_para_init gd32c10x_dma.o
|
||||
0x08003c16 0x00000002 PAD
|
||||
0x08003c18 0x00000096 Code RO 93 .text.enter_deep_sleep initial.o
|
||||
0x08003cae 0x00000002 PAD
|
||||
0x08003cb0 0x00000090 Code RO 424 .text.exti_init gd32c10x_exti.o
|
||||
0x08003d40 0x00000012 Code RO 428 .text.exti_interrupt_disable gd32c10x_exti.o
|
||||
0x08003d52 0x00000002 PAD
|
||||
0x08003d54 0x00000010 Code RO 426 .text.exti_interrupt_enable gd32c10x_exti.o
|
||||
0x08003d64 0x0000000c Code RO 444 .text.exti_interrupt_flag_clear gd32c10x_exti.o
|
||||
0x08003d70 0x00000012 Code RO 442 .text.exti_interrupt_flag_get gd32c10x_exti.o
|
||||
0x08003d82 0x00000002 PAD
|
||||
0x08003d84 0x0000000c Code RO 515 .text.fmc_flag_clear gd32c10x_fmc.o
|
||||
0x08003d90 0x00000012 Code RO 477 .text.fmc_lock gd32c10x_fmc.o
|
||||
0x08003da2 0x00000002 PAD
|
||||
0x08003da4 0x00000166 Code RO 481 .text.fmc_page_erase gd32c10x_fmc.o
|
||||
0x08003f0a 0x00000002 PAD
|
||||
0x08003f0c 0x00000026 Code RO 475 .text.fmc_unlock gd32c10x_fmc.o
|
||||
0x08003f32 0x00000002 PAD
|
||||
0x08003f34 0x000001aa Code RO 487 .text.fmc_word_program gd32c10x_fmc.o
|
||||
0x080040de 0x00000002 PAD
|
||||
0x080040e0 0x0000002c Code RO 86 .text.fputc initial.o
|
||||
0x0800410c 0x00000098 Code RO 216 .text.gd_eval_com_init gd32c10x_eval.o
|
||||
0x080041a4 0x00000004 Code RO 571 .text.gpio_bit_reset gd32c10x_gpio.o
|
||||
0x080041a8 0x00000048 Code RO 587 .text.gpio_exti_source_select gd32c10x_gpio.o
|
||||
0x080041f0 0x000002c0 Code RO 567 .text.gpio_init gd32c10x_gpio.o
|
||||
0x080044b0 0x00000080 Code RO 585 .text.gpio_pin_remap_config gd32c10x_gpio.o
|
||||
0x08004530 0x00000022 Code RO 8 .text.main main.o
|
||||
0x08004552 0x00000002 PAD
|
||||
0x08004554 0x00000060 Code RO 614 .text.nvic_irq_enable gd32c10x_misc.o
|
||||
0x080045b4 0x0000001c Code RO 618 .text.nvic_vector_table_set gd32c10x_misc.o
|
||||
0x080045d0 0x000000c6 Code RO 647 .text.pmu_to_deepsleepmode gd32c10x_pmu.o
|
||||
0x08004696 0x00000002 PAD
|
||||
0x08004698 0x00000012 Code RO 736 .text.rcu_all_reset_flag_clear gd32c10x_rcu.o
|
||||
0x080046aa 0x00000002 PAD
|
||||
0x080046ac 0x0000010c Code RO 764 .text.rcu_clock_freq_get gd32c10x_rcu.o
|
||||
0x080047b8 0x00000010 Code RO 762 .text.rcu_deepsleep_voltage_set gd32c10x_rcu.o
|
||||
0x080047c8 0x00000020 Code RO 684 .text.rcu_periph_clock_disable gd32c10x_rcu.o
|
||||
0x080047e8 0x0000001e Code RO 682 .text.rcu_periph_clock_enable gd32c10x_rcu.o
|
||||
0x08002df4 0x00000110 Code RO 239 .text.can_fd_init gd32c10x_can.o
|
||||
0x08002f04 0x000000b2 Code RO 241 .text.can_filter_init gd32c10x_can.o
|
||||
0x08002fb6 0x00000002 PAD
|
||||
0x08002fb8 0x00000176 Code RO 237 .text.can_init gd32c10x_can.o
|
||||
0x0800312e 0x00000002 PAD
|
||||
0x08003130 0x00000008 Code RO 283 .text.can_interrupt_enable gd32c10x_can.o
|
||||
0x08003138 0x00000016 Code RO 293 .text.can_interrupt_flag_clear gd32c10x_can.o
|
||||
0x0800314e 0x00000002 PAD
|
||||
0x08003150 0x00000066 Code RO 291 .text.can_interrupt_flag_get gd32c10x_can.o
|
||||
0x080031b6 0x00000002 PAD
|
||||
0x080031b8 0x000001b8 Code RO 267 .text.can_message_receive gd32c10x_can.o
|
||||
0x08003370 0x000001f0 Code RO 261 .text.can_message_transmit gd32c10x_can.o
|
||||
0x08003560 0x00000072 Code RO 235 .text.can_struct_para_init gd32c10x_can.o
|
||||
0x080035d2 0x00000002 PAD
|
||||
0x080035d4 0x000001b0 Code RO 161 .text.canfd_config Can.o
|
||||
0x08003784 0x00000238 Code RO 99 .text.check_sleep initial.o
|
||||
0x080039bc 0x00000066 Code RO 319 .text.crc_block_data_calculate gd32c10x_crc.o
|
||||
0x08003a22 0x00000002 PAD
|
||||
0x08003a24 0x00000012 Code RO 309 .text.crc_data_register_reset gd32c10x_crc.o
|
||||
0x08003a36 0x00000002 PAD
|
||||
0x08003a38 0x00000018 Code RO 307 .text.crc_deinit gd32c10x_crc.o
|
||||
0x08003a50 0x00000024 Code RO 66 .text.delay_1ms systick.o
|
||||
0x08003a74 0x00000028 Code RO 64 .text.delay_1us systick.o
|
||||
0x08003a9c 0x00000018 Code RO 68 .text.delay_decrement systick.o
|
||||
0x08003ab4 0x00000024 Code RO 371 .text.dma_channel_enable gd32c10x_dma.o
|
||||
0x08003ad8 0x00000074 Code RO 361 .text.dma_init gd32c10x_dma.o
|
||||
0x08003b4c 0x00000022 Code RO 407 .text.dma_interrupt_enable gd32c10x_dma.o
|
||||
0x08003b6e 0x00000002 PAD
|
||||
0x08003b70 0x0000000e Code RO 405 .text.dma_interrupt_flag_clear gd32c10x_dma.o
|
||||
0x08003b7e 0x00000002 PAD
|
||||
0x08003b80 0x0000003a Code RO 403 .text.dma_interrupt_flag_get gd32c10x_dma.o
|
||||
0x08003bba 0x00000002 PAD
|
||||
0x08003bbc 0x0000001a Code RO 359 .text.dma_struct_para_init gd32c10x_dma.o
|
||||
0x08003bd6 0x00000002 PAD
|
||||
0x08003bd8 0x00000096 Code RO 93 .text.enter_deep_sleep initial.o
|
||||
0x08003c6e 0x00000002 PAD
|
||||
0x08003c70 0x00000090 Code RO 424 .text.exti_init gd32c10x_exti.o
|
||||
0x08003d00 0x00000012 Code RO 428 .text.exti_interrupt_disable gd32c10x_exti.o
|
||||
0x08003d12 0x00000002 PAD
|
||||
0x08003d14 0x00000010 Code RO 426 .text.exti_interrupt_enable gd32c10x_exti.o
|
||||
0x08003d24 0x0000000c Code RO 444 .text.exti_interrupt_flag_clear gd32c10x_exti.o
|
||||
0x08003d30 0x00000012 Code RO 442 .text.exti_interrupt_flag_get gd32c10x_exti.o
|
||||
0x08003d42 0x00000002 PAD
|
||||
0x08003d44 0x0000000c Code RO 515 .text.fmc_flag_clear gd32c10x_fmc.o
|
||||
0x08003d50 0x00000012 Code RO 477 .text.fmc_lock gd32c10x_fmc.o
|
||||
0x08003d62 0x00000002 PAD
|
||||
0x08003d64 0x00000166 Code RO 481 .text.fmc_page_erase gd32c10x_fmc.o
|
||||
0x08003eca 0x00000002 PAD
|
||||
0x08003ecc 0x00000026 Code RO 475 .text.fmc_unlock gd32c10x_fmc.o
|
||||
0x08003ef2 0x00000002 PAD
|
||||
0x08003ef4 0x000001aa Code RO 487 .text.fmc_word_program gd32c10x_fmc.o
|
||||
0x0800409e 0x00000002 PAD
|
||||
0x080040a0 0x0000002c Code RO 86 .text.fputc initial.o
|
||||
0x080040cc 0x00000098 Code RO 216 .text.gd_eval_com_init gd32c10x_eval.o
|
||||
0x08004164 0x00000004 Code RO 571 .text.gpio_bit_reset gd32c10x_gpio.o
|
||||
0x08004168 0x00000048 Code RO 587 .text.gpio_exti_source_select gd32c10x_gpio.o
|
||||
0x080041b0 0x000002c0 Code RO 567 .text.gpio_init gd32c10x_gpio.o
|
||||
0x08004470 0x00000080 Code RO 585 .text.gpio_pin_remap_config gd32c10x_gpio.o
|
||||
0x080044f0 0x00000022 Code RO 8 .text.main main.o
|
||||
0x08004512 0x00000002 PAD
|
||||
0x08004514 0x00000060 Code RO 614 .text.nvic_irq_enable gd32c10x_misc.o
|
||||
0x08004574 0x0000001c Code RO 618 .text.nvic_vector_table_set gd32c10x_misc.o
|
||||
0x08004590 0x000000c6 Code RO 647 .text.pmu_to_deepsleepmode gd32c10x_pmu.o
|
||||
0x08004656 0x00000002 PAD
|
||||
0x08004658 0x00000012 Code RO 736 .text.rcu_all_reset_flag_clear gd32c10x_rcu.o
|
||||
0x0800466a 0x00000002 PAD
|
||||
0x0800466c 0x0000010c Code RO 764 .text.rcu_clock_freq_get gd32c10x_rcu.o
|
||||
0x08004778 0x00000010 Code RO 762 .text.rcu_deepsleep_voltage_set gd32c10x_rcu.o
|
||||
0x08004788 0x00000020 Code RO 684 .text.rcu_periph_clock_disable gd32c10x_rcu.o
|
||||
0x080047a8 0x0000001e Code RO 682 .text.rcu_periph_clock_enable gd32c10x_rcu.o
|
||||
0x080047c6 0x00000002 PAD
|
||||
0x080047c8 0x00000020 Code RO 692 .text.rcu_periph_reset_disable gd32c10x_rcu.o
|
||||
0x080047e8 0x0000001e Code RO 690 .text.rcu_periph_reset_enable gd32c10x_rcu.o
|
||||
0x08004806 0x00000002 PAD
|
||||
0x08004808 0x00000020 Code RO 692 .text.rcu_periph_reset_disable gd32c10x_rcu.o
|
||||
0x08004828 0x0000001e Code RO 690 .text.rcu_periph_reset_enable gd32c10x_rcu.o
|
||||
0x08004846 0x00000002 PAD
|
||||
0x08004848 0x00000014 Code RO 698 .text.rcu_system_clock_source_config gd32c10x_rcu.o
|
||||
0x0800485c 0x00000002 Code RO 91 .text.scanAppFlashContent initial.o
|
||||
0x0800485e 0x00000002 PAD
|
||||
0x08004860 0x00000020 Code RO 70 .text.system_soft_reset systick.o
|
||||
0x08004880 0x00000048 Code RO 62 .text.systick_config systick.o
|
||||
0x080048c8 0x00000006 Code RO 1333 .text.unlikely.abort_message libcppabi_wx.l(abort_message.cpp.o)
|
||||
0x080048ce 0x00000002 PAD
|
||||
0x080048d0 0x0000006a Code RO 780 .text.usart_baudrate_set gd32c10x_usart.o
|
||||
0x0800493a 0x00000002 PAD
|
||||
0x0800493c 0x00000008 Code RO 806 .text.usart_data_transmit gd32c10x_usart.o
|
||||
0x08004944 0x0000007a Code RO 778 .text.usart_deinit gd32c10x_usart.o
|
||||
0x080049be 0x00000002 PAD
|
||||
0x080049c0 0x0000000a Code RO 788 .text.usart_enable gd32c10x_usart.o
|
||||
0x080049ca 0x00000002 PAD
|
||||
0x080049cc 0x00000010 Code RO 868 .text.usart_flag_get gd32c10x_usart.o
|
||||
0x080049dc 0x00000014 Code RO 794 .text.usart_receive_config gd32c10x_usart.o
|
||||
0x080049f0 0x00000014 Code RO 792 .text.usart_transmit_config gd32c10x_usart.o
|
||||
0x08004a04 0x0000000e Code RO 1925 i.__scatterload_copy mc_w.l(handlers.o)
|
||||
0x08004a12 0x00000002 Code RO 1926 i.__scatterload_null mc_w.l(handlers.o)
|
||||
0x08004a14 0x0000000e Code RO 1927 i.__scatterload_zeroinit mc_w.l(handlers.o)
|
||||
0x08004a22 0x00000002 PAD
|
||||
0x08004a24 0x00000024 Code RO 1059 i.puts mc_w.l(puts.o)
|
||||
0x08004a48 0x00000100 Data RO 50 .rodata._ZL4sbox aes128.o
|
||||
0x08004b48 0x00000010 Data RO 143 .rodata._ZL8K_master OTA.o
|
||||
0x08004b58 0x00000400 Data RO 145 .rodata._ZZ24calculate_crc32_with_keyPKhS0_PhE9crc_table OTA.o
|
||||
0x08004f58 0x00000008 Data RO 766 .rodata.cst8 gd32c10x_rcu.o
|
||||
0x08004f60 0x00000007 Data RO 295 .rodata.g_can_fdlength_table gd32c10x_can.o
|
||||
0x08004f67 0x00000100 Data RO 49 .rodata.inv_sbox aes128.o
|
||||
0x08005067 0x00000001 PAD
|
||||
0x08005068 0x00000020 Data RO 1924 Region$$Table anon$$obj.o
|
||||
0x08004808 0x00000014 Code RO 698 .text.rcu_system_clock_source_config gd32c10x_rcu.o
|
||||
0x0800481c 0x00000002 Code RO 91 .text.scanAppFlashContent initial.o
|
||||
0x0800481e 0x00000002 PAD
|
||||
0x08004820 0x00000020 Code RO 70 .text.system_soft_reset systick.o
|
||||
0x08004840 0x00000048 Code RO 62 .text.systick_config systick.o
|
||||
0x08004888 0x00000006 Code RO 1333 .text.unlikely.abort_message libcppabi_wx.l(abort_message.cpp.o)
|
||||
0x0800488e 0x00000002 PAD
|
||||
0x08004890 0x0000006a Code RO 780 .text.usart_baudrate_set gd32c10x_usart.o
|
||||
0x080048fa 0x00000002 PAD
|
||||
0x080048fc 0x00000008 Code RO 806 .text.usart_data_transmit gd32c10x_usart.o
|
||||
0x08004904 0x0000007a Code RO 778 .text.usart_deinit gd32c10x_usart.o
|
||||
0x0800497e 0x00000002 PAD
|
||||
0x08004980 0x0000000a Code RO 788 .text.usart_enable gd32c10x_usart.o
|
||||
0x0800498a 0x00000002 PAD
|
||||
0x0800498c 0x00000010 Code RO 868 .text.usart_flag_get gd32c10x_usart.o
|
||||
0x0800499c 0x00000014 Code RO 794 .text.usart_receive_config gd32c10x_usart.o
|
||||
0x080049b0 0x00000014 Code RO 792 .text.usart_transmit_config gd32c10x_usart.o
|
||||
0x080049c4 0x0000000e Code RO 1925 i.__scatterload_copy mc_w.l(handlers.o)
|
||||
0x080049d2 0x00000002 Code RO 1926 i.__scatterload_null mc_w.l(handlers.o)
|
||||
0x080049d4 0x0000000e Code RO 1927 i.__scatterload_zeroinit mc_w.l(handlers.o)
|
||||
0x080049e2 0x00000002 PAD
|
||||
0x080049e4 0x00000024 Code RO 1059 i.puts mc_w.l(puts.o)
|
||||
0x08004a08 0x00000100 Data RO 50 .rodata._ZL4sbox aes128.o
|
||||
0x08004b08 0x00000010 Data RO 143 .rodata._ZL8K_master OTA.o
|
||||
0x08004b18 0x00000400 Data RO 145 .rodata._ZZ24calculate_crc32_with_keyPKhS0_PhE9crc_table OTA.o
|
||||
0x08004f18 0x00000008 Data RO 766 .rodata.cst8 gd32c10x_rcu.o
|
||||
0x08004f20 0x00000007 Data RO 295 .rodata.g_can_fdlength_table gd32c10x_can.o
|
||||
0x08004f27 0x00000100 Data RO 49 .rodata.inv_sbox aes128.o
|
||||
0x08005027 0x00000001 PAD
|
||||
0x08005028 0x00000020 Data RO 1924 Region$$Table anon$$obj.o
|
||||
|
||||
|
||||
Execution Region RW_NOINIT (Base: 0x20000000, Size: 0x00000000, Max: 0x00007200, ABSOLUTE, UNINIT)
|
||||
|
||||
Reference in New Issue
Block a user