From c8240d55741f0ed86099a0a8c616f4fc68372134 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期四, 25 十二月 2025 10:17:55 +0800
Subject: [PATCH] OTA功能测试完成,4G超时时间异常,出现4G中断情况,等杜工修改。

---
 STM32H743/MDK-ARM/STM32H743.uvprojx |  196 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 189 insertions(+), 7 deletions(-)

diff --git a/STM32H743/MDK-ARM/STM32H743.uvprojx b/STM32H743/MDK-ARM/STM32H743.uvprojx
index a2114d8..249ea4a 100644
--- a/STM32H743/MDK-ARM/STM32H743.uvprojx
+++ b/STM32H743/MDK-ARM/STM32H743.uvprojx
@@ -132,7 +132,7 @@
             <UseTargetDll>1</UseTargetDll>
             <UseExternalTool>0</UseExternalTool>
             <RunIndependent>0</RunIndependent>
-            <UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
+            <UpdateFlashBeforeDebugging>0</UpdateFlashBeforeDebugging>
             <Capability>1</Capability>
             <DriverSelection>4101</DriverSelection>
           </Flash1>
@@ -189,7 +189,7 @@
             <hadIRAM2>1</hadIRAM2>
             <hadIROM2>0</hadIROM2>
             <StupSel>8</StupSel>
-            <useUlib>0</useUlib>
+            <useUlib>1</useUlib>
             <EndSel>0</EndSel>
             <uLtcg>0</uLtcg>
             <nSecure>0</nSecure>
@@ -206,7 +206,7 @@
             <Ro2Chk>0</Ro2Chk>
             <Ro3Chk>0</Ro3Chk>
             <Ir1Chk>1</Ir1Chk>
-            <Ir2Chk>1</Ir2Chk>
+            <Ir2Chk>0</Ir2Chk>
             <Ra1Chk>0</Ra1Chk>
             <Ra2Chk>0</Ra2Chk>
             <Ra3Chk>0</Ra3Chk>
@@ -275,12 +275,12 @@
               </OCR_RVCT3>
               <OCR_RVCT4>
                 <Type>1</Type>
-                <StartAddress>0x8000000</StartAddress>
-                <Size>0x20000</Size>
+                <StartAddress>0x8040000</StartAddress>
+                <Size>0x40000</Size>
               </OCR_RVCT4>
               <OCR_RVCT5>
                 <Type>1</Type>
-                <StartAddress>0x8040000</StartAddress>
+                <StartAddress>0x8000000</StartAddress>
                 <Size>0x40000</Size>
               </OCR_RVCT5>
               <OCR_RVCT6>
@@ -328,7 +328,7 @@
             <uC99>1</uC99>
             <uGnu>1</uGnu>
             <useXO>0</useXO>
-            <v6Lang>5</v6Lang>
+            <v6Lang>3</v6Lang>
             <v6LangP>3</v6LangP>
             <vShortEn>1</vShortEn>
             <vShortWch>1</vShortWch>
@@ -458,6 +458,36 @@
               <FileType>1</FileType>
               <FilePath>..\APL\TCPClient.c</FilePath>
             </File>
+            <File>
+              <FileName>MQTTClient.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\APL\MQTTClient.c</FilePath>
+            </File>
+            <File>
+              <FileName>MsgPack.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\APL\MsgPack.c</FilePath>
+            </File>
+            <File>
+              <FileName>MQTTApp.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\APL\MQTTApp.c</FilePath>
+            </File>
+            <File>
+              <FileName>PathStorage.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\APL\PathStorage.c</FilePath>
+            </File>
+            <File>
+              <FileName>PathTest.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\APL\PathTest.c</FilePath>
+            </File>
+            <File>
+              <FileName>OTAUpgrade.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\APL\OTAUpgrade.c</FilePath>
+            </File>
           </Files>
         </Group>
         <Group>
@@ -533,6 +563,26 @@
               <FileType>1</FileType>
               <FilePath>..\FML\PythonLink.c</FilePath>
             </File>
+            <File>
+              <FileName>MQTT.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\FML\Internet\MQTT.c</FilePath>
+            </File>
+            <File>
+              <FileName>EG800MQTT.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\FML\Internet\Module\EG800\EG800MQTT.c</FilePath>
+            </File>
+            <File>
+              <FileName>HTTPClient.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\FML\Internet\HTTPClient.c</FilePath>
+            </File>
+            <File>
+              <FileName>FileDownload.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\APL\FileDownload.c</FilePath>
+            </File>
           </Files>
         </Group>
         <Group>
@@ -548,6 +598,16 @@
               <FileType>1</FileType>
               <FilePath>..\HAL\MCUFlash.c</FilePath>
             </File>
+            <File>
+              <FileName>SoftCRC.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\HAL\SoftCRC.c</FilePath>
+            </File>
+            <File>
+              <FileName>BootMark.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\APL\BootMark.c</FilePath>
+            </File>
           </Files>
         </Group>
         <Group>
@@ -569,6 +629,118 @@
               <FilePath>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c</FilePath>
             </File>
             <File>
+              <FileName>stm32h7xx_hal_crc.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc.c</FilePath>
+              <FileOption>
+                <CommonProperty>
+                  <UseCPPCompiler>2</UseCPPCompiler>
+                  <RVCTCodeConst>0</RVCTCodeConst>
+                  <RVCTZI>0</RVCTZI>
+                  <RVCTOtherData>0</RVCTOtherData>
+                  <ModuleSelection>0</ModuleSelection>
+                  <IncludeInBuild>1</IncludeInBuild>
+                  <AlwaysBuild>2</AlwaysBuild>
+                  <GenerateAssemblyFile>2</GenerateAssemblyFile>
+                  <AssembleAssemblyFile>2</AssembleAssemblyFile>
+                  <PublicsOnly>2</PublicsOnly>
+                  <StopOnExitCode>11</StopOnExitCode>
+                  <CustomArgument></CustomArgument>
+                  <IncludeLibraryModules></IncludeLibraryModules>
+                  <ComprImg>1</ComprImg>
+                </CommonProperty>
+                <FileArmAds>
+                  <Cads>
+                    <interw>2</interw>
+                    <Optim>0</Optim>
+                    <oTime>2</oTime>
+                    <SplitLS>2</SplitLS>
+                    <OneElfS>2</OneElfS>
+                    <Strict>2</Strict>
+                    <EnumInt>2</EnumInt>
+                    <PlainCh>2</PlainCh>
+                    <Ropi>2</Ropi>
+                    <Rwpi>2</Rwpi>
+                    <wLevel>0</wLevel>
+                    <uThumb>2</uThumb>
+                    <uSurpInc>2</uSurpInc>
+                    <uC99>2</uC99>
+                    <uGnu>2</uGnu>
+                    <useXO>2</useXO>
+                    <v6Lang>0</v6Lang>
+                    <v6LangP>0</v6LangP>
+                    <vShortEn>2</vShortEn>
+                    <vShortWch>2</vShortWch>
+                    <v6Lto>2</v6Lto>
+                    <v6WtE>2</v6WtE>
+                    <v6Rtti>2</v6Rtti>
+                    <VariousControls>
+                      <MiscControls></MiscControls>
+                      <Define></Define>
+                      <Undefine></Undefine>
+                      <IncludePath></IncludePath>
+                    </VariousControls>
+                  </Cads>
+                </FileArmAds>
+              </FileOption>
+            </File>
+            <File>
+              <FileName>stm32h7xx_hal_crc_ex.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_crc_ex.c</FilePath>
+              <FileOption>
+                <CommonProperty>
+                  <UseCPPCompiler>2</UseCPPCompiler>
+                  <RVCTCodeConst>0</RVCTCodeConst>
+                  <RVCTZI>0</RVCTZI>
+                  <RVCTOtherData>0</RVCTOtherData>
+                  <ModuleSelection>0</ModuleSelection>
+                  <IncludeInBuild>1</IncludeInBuild>
+                  <AlwaysBuild>2</AlwaysBuild>
+                  <GenerateAssemblyFile>2</GenerateAssemblyFile>
+                  <AssembleAssemblyFile>2</AssembleAssemblyFile>
+                  <PublicsOnly>2</PublicsOnly>
+                  <StopOnExitCode>11</StopOnExitCode>
+                  <CustomArgument></CustomArgument>
+                  <IncludeLibraryModules></IncludeLibraryModules>
+                  <ComprImg>1</ComprImg>
+                </CommonProperty>
+                <FileArmAds>
+                  <Cads>
+                    <interw>2</interw>
+                    <Optim>0</Optim>
+                    <oTime>2</oTime>
+                    <SplitLS>2</SplitLS>
+                    <OneElfS>2</OneElfS>
+                    <Strict>2</Strict>
+                    <EnumInt>2</EnumInt>
+                    <PlainCh>2</PlainCh>
+                    <Ropi>2</Ropi>
+                    <Rwpi>2</Rwpi>
+                    <wLevel>0</wLevel>
+                    <uThumb>2</uThumb>
+                    <uSurpInc>2</uSurpInc>
+                    <uC99>2</uC99>
+                    <uGnu>2</uGnu>
+                    <useXO>2</useXO>
+                    <v6Lang>0</v6Lang>
+                    <v6LangP>0</v6LangP>
+                    <vShortEn>2</vShortEn>
+                    <vShortWch>2</vShortWch>
+                    <v6Lto>2</v6Lto>
+                    <v6WtE>2</v6WtE>
+                    <v6Rtti>2</v6Rtti>
+                    <VariousControls>
+                      <MiscControls></MiscControls>
+                      <Define></Define>
+                      <Undefine></Undefine>
+                      <IncludePath></IncludePath>
+                    </VariousControls>
+                  </Cads>
+                </FileArmAds>
+              </FileOption>
+            </File>
+            <File>
               <FileName>stm32h7xx_hal_rcc.c</FileName>
               <FileType>1</FileType>
               <FilePath>../Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c</FilePath>
@@ -728,6 +900,11 @@
               <FileType>4</FileType>
               <FilePath>..\HIDOLibrary\HIDOLibrary.lib</FilePath>
             </File>
+            <File>
+              <FileName>HIDO_Timer.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\HIDOLibrary\HIDO_Timer.c</FilePath>
+            </File>
           </Files>
         </Group>
         <Group>
@@ -814,6 +991,11 @@
               <FileType>1</FileType>
               <FilePath>..\APL\motion_calibration_task.c</FilePath>
             </File>
+            <File>
+              <FileName>aes.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\FML\aes.c</FilePath>
+            </File>
           </Files>
         </Group>
         <Group>

--
Gitblit v1.10.0