From dc8d5227cabd8c23d02f7be0fef89b0d78558ca4 Mon Sep 17 00:00:00 2001 From: kyz Date: Thu, 2 Jan 2025 10:15:06 +0800 Subject: [PATCH] =?utf8?q?=E7=BC=BA=E7=9B=B8=E8=BF=87=E6=BB=A4=E8=B0=90?= =?utf8?q?=E6=B3=A2=E5=88=86=E6=AC=A1=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 波形数据时间戳修正 --- STM32/IAR_config/linker/stm32f407xx_flash.icf | 4 +- STM32/IAR_project/F407_TCM.ewp | 6 +-- STM32/code/mcu_com/mcu_com_energy.c | 50 +++++++++++++------ STM32/code/startup/startup_stm32f407xx.s | 6 ++- 4 files changed, 43 insertions(+), 23 deletions(-) diff --git a/STM32/IAR_config/linker/stm32f407xx_flash.icf b/STM32/IAR_config/linker/stm32f407xx_flash.icf index 0c12d689..c7183aae 100644 --- a/STM32/IAR_config/linker/stm32f407xx_flash.icf +++ b/STM32/IAR_config/linker/stm32f407xx_flash.icf @@ -24,11 +24,11 @@ define region CCMRAM_region = mem:[from __ICFEDIT_region_CCMRAM_start__ to _ define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { }; define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { }; -initialize by copy with packing=none { readwrite }; +initialize by copy with packing = none { readwrite }; do not initialize { section .noinit }; place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec }; place in ROM_region { readonly }; place in RAM_region { readwrite, - block CSTACK, block HEAP }; \ No newline at end of file + block CSTACK, block HEAP }; diff --git a/STM32/IAR_project/F407_TCM.ewp b/STM32/IAR_project/F407_TCM.ewp index fa8e70c0..24c231cf 100644 --- a/STM32/IAR_project/F407_TCM.ewp +++ b/STM32/IAR_project/F407_TCM.ewp @@ -680,7 +680,7 @@