From ce4dd5cba076e7ae21faffcc02ab0bf08d1b0949 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期二, 22 八月 2023 16:33:01 +0800
Subject: [PATCH] 修改uwb文件逻辑,方便移植

---
 MDK-ARM/L051.uvprojx |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/MDK-ARM/L051.uvprojx b/MDK-ARM/L051.uvprojx
index 5a6c5e9..d3687a7 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.2.0</PackID>
+          <PackID>Keil.STM32L0xx_DFP.2.1.0</PackID>
           <PackURL>http://www.keil.com/pack/</PackURL>
           <Cpu>IRAM(0x20000000,0x00002000) IROM(0x08000000,0x00010000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE</Cpu>
           <FlashUtilSpec></FlashUtilSpec>
@@ -132,7 +132,7 @@
             <UseTargetDll>1</UseTargetDll>
             <UseExternalTool>0</UseExternalTool>
             <RunIndependent>0</RunIndependent>
-            <UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
+            <UpdateFlashBeforeDebugging>0</UpdateFlashBeforeDebugging>
             <Capability>1</Capability>
             <DriverSelection>4096</DriverSelection>
           </Flash1>
@@ -337,7 +337,7 @@
             <v6Rtti>0</v6Rtti>
             <VariousControls>
               <MiscControls></MiscControls>
-              <Define>USE_HAL_DRIVER,STM32L051xx</Define>
+              <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>
             </VariousControls>
@@ -481,6 +481,16 @@
               <FileType>1</FileType>
               <FilePath>..\Src\application\dw_ds_anc.c</FilePath>
             </File>
+            <File>
+              <FileName>ss_dw_tag_core.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\Src\application\ss_dw_tag_core.c</FilePath>
+            </File>
+            <File>
+              <FileName>dw_sync.c</FileName>
+              <FileType>1</FileType>
+              <FilePath>..\Src\application\dw_sync.c</FilePath>
+            </File>
           </Files>
         </Group>
         <Group>

--
Gitblit v1.9.3