From 6e3f1f560d618b37ee1a47fa2b0f682b70c3ef1c Mon Sep 17 00:00:00 2001
From: jinlicong <493886250@qq.com>
Date: Wed, 19 Jun 2024 17:25:45 +0800
Subject: [PATCH] 增加OTA协议

---
 KEIL_MDKARM/SZV103_FM33A0_MainSystem.uvprojx |   33 +++++++++------------------------
 1 files changed, 9 insertions(+), 24 deletions(-)

diff --git a/KEIL_MDKARM/SZV103_FM33A0_MainSystem.uvprojx b/KEIL_MDKARM/SZV103_FM33A0_MainSystem.uvprojx
index e9054ab..e2bdab6 100644
--- a/KEIL_MDKARM/SZV103_FM33A0_MainSystem.uvprojx
+++ b/KEIL_MDKARM/SZV103_FM33A0_MainSystem.uvprojx
@@ -79,7 +79,7 @@
             <nStopB2X>0</nStopB2X>
           </BeforeMake>
           <AfterMake>
-            <RunUserProg1>0</RunUserProg1>
+            <RunUserProg1>1</RunUserProg1>
             <RunUserProg2>0</RunUserProg2>
             <UserProg1Name>fromelf --bin -o ".\bin_file\@L.bin" "#L"</UserProg1Name>
             <UserProg2Name></UserProg2Name>
@@ -275,8 +275,8 @@
               </OCR_RVCT3>
               <OCR_RVCT4>
                 <Type>1</Type>
-                <StartAddress>0x0</StartAddress>
-                <Size>0x80000</Size>
+                <StartAddress>0x19000</StartAddress>
+                <Size>0x67000</Size>
               </OCR_RVCT4>
               <OCR_RVCT5>
                 <Type>1</Type>
@@ -361,7 +361,7 @@
             </VariousControls>
           </Aads>
           <LDads>
-            <umfTarg>0</umfTarg>
+            <umfTarg>1</umfTarg>
             <Ropi>0</Ropi>
             <Rwpi>0</Rwpi>
             <noStLib>0</noStLib>
@@ -603,6 +603,11 @@
               <FileType>1</FileType>
               <FilePath>..\Function\UPPER_COMPUTER\upper_com_data_pro.c</FilePath>
             </File>
+            <File>
+              <FileName>upper_com_iap_pro.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\Function\UPPER_COMPUTER\upper_com_iap_pro.c</FilePath>
+            </File>
           </Files>
         </Group>
         <Group>
@@ -637,26 +642,6 @@
               <FileName>lcd_io_api.c</FileName>
               <FileType>1</FileType>
               <FilePath>..\Function\LCD\lcd_io_api.c</FilePath>
-            </File>
-          </Files>
-        </Group>
-        <Group>
-          <GroupName>CmBackTrace</GroupName>
-          <Files>
-            <File>
-              <FileName>cm_backtrace.c</FileName>
-              <FileType>1</FileType>
-              <FilePath>..\CmBackTrace\cm_backtrace.c</FilePath>
-            </File>
-            <File>
-              <FileName>cmb_fault.S</FileName>
-              <FileType>2</FileType>
-              <FilePath>..\CmBackTrace\cmb_fault.S</FilePath>
-            </File>
-            <File>
-              <FileName>fault_test.c</FileName>
-              <FileType>1</FileType>
-              <FilePath>..\CmBackTrace\fault_test.c</FilePath>
             </File>
           </Files>
         </Group>

--
Gitblit v1.9.3