From dca85b651a942c826f1b29ac08d7e65d33cebb93 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期四, 22 十月 2020 12:02:16 +0800 Subject: [PATCH] 可以读取气压温度 --- MDK-ARM/L051.uvprojx | 35 ++++++++++++++++++++--------------- 1 files changed, 20 insertions(+), 15 deletions(-) diff --git a/MDK-ARM/L051.uvprojx b/MDK-ARM/L051.uvprojx index 4e5b436..ebea409 100644 --- a/MDK-ARM/L051.uvprojx +++ b/MDK-ARM/L051.uvprojx @@ -134,11 +134,11 @@ <RunIndependent>0</RunIndependent> <UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging> <Capability>1</Capability> - <DriverSelection>4107</DriverSelection> + <DriverSelection>4103</DriverSelection> </Flash1> <bUseTDR>1</bUseTDR> <Flash2>STLink\ST-LINKIII-KEIL_SWO.dll</Flash2> - <Flash3></Flash3> + <Flash3>"" ()</Flash3> <Flash4></Flash4> <pFcarmOut></pFcarmOut> <pFcarmGrp></pFcarmGrp> @@ -338,7 +338,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> @@ -390,16 +390,6 @@ </Files> </Group> <Group> - <GroupName>ExternlDrivers</GroupName> - <Files> - <File> - <FileName>lis3dh_driver.c</FileName> - <FileType>1</FileType> - <FilePath>..\Drivers\ExternlDrivers\lis3dh_driver.c</FilePath> - </File> - </Files> - </Group> - <Group> <GroupName>deacadriver</GroupName> <Files> <File> @@ -417,15 +407,30 @@ <FileType>1</FileType> <FilePath>..\Src\decadriver\deca_range_tables.c</FilePath> </File> + <File> + <FileName>dw_driver.c</FileName> + <FileType>1</FileType> + <FilePath>..\Src\decadriver\dw_driver.c</FilePath> + </File> </Files> </Group> <Group> <GroupName>ExternalDevices</GroupName> <Files> <File> - <FileName>dw_driver.c</FileName> + <FileName>lis3dh_driver.c</FileName> <FileType>1</FileType> - <FilePath>..\Src\ExternalDevices\dw_driver.c</FilePath> + <FilePath>..\Src\ExternalDevices\lis3dh_driver.c</FilePath> + </File> + <File> + <FileName>dps310.c</FileName> + <FileType>1</FileType> + <FilePath>..\Src\ExternalDevices\dps310.c</FilePath> + </File> + <File> + <FileName>dps368_test.c</FileName> + <FileType>1</FileType> + <FilePath>..\Src\ExternalDevices\dps368_test.c</FilePath> </File> </Files> </Group> -- Gitblit v1.9.3