From 81ce7fc51d6674248f7d98bbe4c537bd24fbf76f Mon Sep 17 00:00:00 2001
From: WXK <287788329@qq.com>
Date: 星期三, 18 十二月 2024 09:38:57 +0800
Subject: [PATCH] 2.9,去掉debug模式下才能触发禁止休眠

---
 MDK-ARM/L051.uvprojx |   31 ++++++++++++++++++++++++++-----
 1 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/MDK-ARM/L051.uvprojx b/MDK-ARM/L051.uvprojx
index 69ed94a..0ba7fb3 100644
--- a/MDK-ARM/L051.uvprojx
+++ b/MDK-ARM/L051.uvprojx
@@ -10,13 +10,13 @@
       <TargetName>L051</TargetName>
       <ToolsetNumber>0x4</ToolsetNumber>
       <ToolsetName>ARM-ADS</ToolsetName>
-      <pCCUsed>5060750::V5.06 update 6 (build 750)::ARMCC</pCCUsed>
+      <pCCUsed>5060750::V5.06 update 6 (build 750)::.\ARMCC</pCCUsed>
       <uAC6>0</uAC6>
       <TargetOption>
         <TargetCommonOption>
           <Device>STM32L051C8Tx</Device>
           <Vendor>STMicroelectronics</Vendor>
-          <PackID>Keil.STM32L0xx_DFP.2.0.0</PackID>
+          <PackID>Keil.STM32L0xx_DFP.2.2.0</PackID>
           <PackURL>http://www.keil.com/pack/</PackURL>
           <Cpu>IRAM(0x20000000-0x20001FFF) IROM(0x8000000-0x800FFFF)  CLOCK(8000000) CPUTYPE("Cortex-M0+")</Cpu>
           <FlashUtilSpec></FlashUtilSpec>
@@ -185,6 +185,7 @@
             <uocXRam>0</uocXRam>
             <RvdsVP>0</RvdsVP>
             <RvdsMve>0</RvdsMve>
+            <RvdsCdeCp>0</RvdsCdeCp>
             <hadIRAM2>0</hadIRAM2>
             <hadIROM2>0</hadIROM2>
             <StupSel>8</StupSel>
@@ -275,7 +276,7 @@
               <OCR_RVCT4>
                 <Type>1</Type>
                 <StartAddress>0x8005000</StartAddress>
-                <Size>0x10000</Size>
+                <Size>0xb000</Size>
               </OCR_RVCT4>
               <OCR_RVCT5>
                 <Type>1</Type>
@@ -338,7 +339,7 @@
               <MiscControls></MiscControls>
               <Define>USE_HAL_DRIVER,STM32L051xx</Define>
               <Undefine></Undefine>
-              <IncludePath>../Inc;                    ../Drivers/STM32L0xx_HAL_Driver/Inc;                    ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy;                    ../Drivers/CMSIS/Device/ST/STM32L0xx/Include;                    ../Drivers/CMSIS/Include;                    ..\Drivers\ExternlDrivers;                    ..\Src\decadriver;                    ..\Src\ExternalDevices;                    ..\Src\OnChipDevices;                    ..\Src\algorithm;                    ..\Src\application</IncludePath>
+              <IncludePath>../Inc;                      ../Drivers/STM32L0xx_HAL_Driver/Inc;                      ../Drivers/STM32L0xx_HAL_Driver/Inc/Legacy;                      ../Drivers/CMSIS/Device/ST/STM32L0xx/Include;                      ../Drivers/CMSIS/Include;                      ..\Drivers\ExternlDrivers;                      ..\Src\decadriver;                      ..\Src\ExternalDevices;                      ..\Src\OnChipDevices;                      ..\Src\algorithm;                      ..\Src\application</IncludePath>
             </VariousControls>
           </Cads>
           <Aads>
@@ -351,7 +352,7 @@
             <NoWarn>0</NoWarn>
             <uSurpInc>0</uSurpInc>
             <useXO>0</useXO>
-            <uClangAs>0</uClangAs>
+            <ClangAsOpt>4</ClangAsOpt>
             <VariousControls>
               <MiscControls></MiscControls>
               <Define></Define>
@@ -479,6 +480,11 @@
               <FileName>serial_at_cmd_app.c</FileName>
               <FileType>1</FileType>
               <FilePath>..\Src\application\serial_at_cmd_app.c</FilePath>
+            </File>
+            <File>
+              <FileName>dw_ds_anc.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\Src\application\dw_ds_anc.c</FilePath>
             </File>
           </Files>
         </Group>
@@ -647,4 +653,19 @@
     <files/>
   </RTE>
 
+  <LayerInfo>
+    <Layers>
+      <Layer>
+        <LayName>&lt;Project Info&gt;</LayName>
+        <LayDesc></LayDesc>
+        <LayUrl></LayUrl>
+        <LayKeys></LayKeys>
+        <LayCat></LayCat>
+        <LayLic></LayLic>
+        <LayTarg>0</LayTarg>
+        <LayPrjMark>1</LayPrjMark>
+      </Layer>
+    </Layers>
+  </LayerInfo>
+
 </Project>

--
Gitblit v1.9.3