From c84c6ca0dd7fa662fc589f02da10b3a89e45c659 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期三, 06 一月 2021 11:36:16 +0800 Subject: [PATCH] 增加气压读取功能,未完成 --- MDK-ARM/L051/L051.build_log.htm | 56 +++++++++++++++----------------------------------------- 1 files changed, 15 insertions(+), 41 deletions(-) diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm index 9122feb..24638b4 100644 --- a/MDK-ARM/L051/L051.build_log.htm +++ b/MDK-ARM/L051/L051.build_log.htm @@ -22,53 +22,27 @@ <h2>Project:</h2> E:\GIT\XRange_Tag\MDK-ARM\L051.uvprojx -Project File Date: 11/15/2020 +Project File Date: 01/06/2021 <h2>Output:</h2> *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin' Build target 'L051' -compiling main.c... -..\Src\application\global_param.h(47): warning: #47-D: incompatible redefinition of macro "MOTOR_ONTIME" (declared at line 35 of "..\Src\ExternalDevices\led.h") - #define MOTOR_ONTIME 0x21 -..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning: #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types +compiling dps368_test.c... +..\Src\OnChipDevices\Flash.h(3): warning: #47-D: incompatible redefinition of macro "FLASH_SIZE" (declared at line 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h") + #define FLASH_SIZE (uint32_t)0x10000 +..\Src\ExternalDevices\lis3dh_driver.h(67): warning: #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types void LIS3DH_ENTER_STY_Init(); -../Src/main.c(176): warning: #223-D: function "FLASH_Prepare" declared implicitly - result = FLASH_Prepare(0x8004A38, 128); -../Src/main.c(178): warning: #223-D: function "FLASH_Write" declared implicitly - result = FLASH_Write(0x8004A38, (const uint8_t*)&tmp, 2); -../Src/main.c(180): warning: #223-D: function "printf" declared implicitly - printf("进入升级模式\r\n"); -../Src/main.c(183): warning: #223-D: function "delay_ms" declared implicitly - delay_ms(100); -../Src/main.c(193): warning: #223-D: function "delay_ms" declared implicitly - delay_ms(100); -../Src/main.c(200): warning: #223-D: function "delay_ms" declared implicitly - delay_ms(100); -../Src/main.c(286): warning: #186-D: pointless comparison of unsigned integer with zero - if(g_com_map[POWER]<0) -../Src/main.c(309): warning: #223-D: function "printf" declared implicitly - printf("标签ID: %d .\r\n",dev_id); -../Src/main.c(252): warning: #177-D: variable "temp" was declared but never referenced - { float temp; -../Src/main.c(253): warning: #177-D: variable "temp2" was declared but never referenced - uint16_t temp2; -../Src/main.c(254): warning: #177-D: variable "i" was declared but never referenced - uint16_t i; -../Src/main.c(412): warning: #177-D: variable "blink_count" was declared but never referenced - { static uint16_t blink_count=0; -../Src/main.c(684): warning: #223-D: function "Usart1InitVariables" declared implicitly - Usart1InitVariables(); -../Src/main.c(864): warning: #223-D: function "delay_ms" declared implicitly - delay_ms(100); -../Src/main.c(867): warning: #223-D: function "delay_ms" declared implicitly - delay_ms(10); -../Src/main.c(319): warning: #177-D: function "SystemPower_Config" was declared but never referenced - static void SystemPower_Config(void) -../Src/main.c: 18 warnings, 0 errors +..\Src\ExternalDevices\dps368_test.c(45): warning: #177-D: variable "temp" was declared but never referenced + uint32_t temp=0; +..\Src\ExternalDevices\dps368_test.c(67): warning: #940-D: missing return statement at end of non-void function "test_write_byte" + } +..\Src\ExternalDevices\dps368_test.c(157): warning: #1-D: last line of file ends without a newline + } +..\Src\ExternalDevices\dps368_test.c: 5 warnings, 0 errors linking... -Program Size: Code=23060 RO-data=396 RW-data=292 ZI-data=6396 +Program Size: Code=28996 RO-data=396 RW-data=328 ZI-data=6536 FromELF: creating hex file... -"L051\L051.axf" - 0 Error(s), 18 Warning(s). +"L051\L051.axf" - 0 Error(s), 5 Warning(s). <h2>Software Packages used:</h2> @@ -91,7 +65,7 @@ <h2>Collection of Component Files used:</h2> * Component: ARM::CMSIS:CORE:5.3.0 -Build Time Elapsed: 00:00:02 +Build Time Elapsed: 00:00:03 </pre> </body> </html> -- Gitblit v1.9.3