| | |
| | | |
| | | <h2>Project:</h2> |
| | | E:\GIT\XRange_Tag\MDK-ARM\L051.uvprojx |
| | | Project File Date: 09/13/2020 |
| | | Project File Date: 05/28/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 34 of "..\Src\ExternalDevices\led.h") |
| | | #define MOTOR_ONTIME 0x21 |
| | | ..\Src\application\global_param.h(59): warning: #47-D: incompatible redefinition of macro "POWER" (declared at line 41) |
| | | #define POWER 0x4 |
| | | ..\Src\application\global_param.h(60): warning: #47-D: incompatible redefinition of macro "IMU_THRES" (declared at line 42) |
| | | #define IMU_THRES 0x5 |
| | | ..\Src\application\global_param.h(61): warning: #47-D: incompatible redefinition of macro "NOMOVESLEEP_TIME" (declared at line 43) |
| | | #define NOMOVESLEEP_TIME 0x6 |
| | | ..\Src\application\global_param.h(62): warning: #47-D: incompatible redefinition of macro "MOTOR_ENABLE" (declared at line 44) |
| | | #define MOTOR_ENABLE 0x7 |
| | | ..\Src\application\global_param.h(63): warning: #47-D: incompatible redefinition of macro "IMU_ENABLE" (declared at line 45) |
| | | #define IMU_ENABLE 0x8 |
| | | ..\Src\application\global_param.h(64): warning: #47-D: incompatible redefinition of macro "REMOTEPARA_STATE" (declared at line 46) |
| | | #define REMOTEPARA_STATE 0x9 |
| | | ..\Src\application\global_param.h(65): warning: #47-D: incompatible redefinition of macro "MOTOR_ONTIME" (declared at line 47) |
| | | #define MOTOR_ONTIME 0xa |
| | | ..\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 |
| | | ..\Drivers\ExternlDrivers\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 |
| | | ../Src/main.c(219): warning: #223-D: function "printf" declared implicitly |
| | | printf("进入升级模式\r\n"); |
| | | ../Src/main.c(183): warning: #223-D: function "delay_ms" declared implicitly |
| | | ../Src/main.c(222): warning: #223-D: function "delay_ms" declared implicitly |
| | | delay_ms(100); |
| | | ../Src/main.c(193): warning: #223-D: function "delay_ms" declared implicitly |
| | | ../Src/main.c(232): warning: #223-D: function "delay_ms" declared implicitly |
| | | delay_ms(100); |
| | | ../Src/main.c(200): warning: #223-D: function "delay_ms" declared implicitly |
| | | ../Src/main.c(239): warning: #223-D: function "delay_ms" declared implicitly |
| | | delay_ms(100); |
| | | ../Src/main.c(268): warning: #223-D: function "printf" declared implicitly |
| | | printf("标签ID: %d .\r\n",dev_id); |
| | | ../Src/main.c(232): warning: #177-D: variable "temp" was declared but never referenced |
| | | ../Src/main.c(300): warning: #186-D: pointless comparison of unsigned integer with zero |
| | | if(g_com_map[POWER]<0) |
| | | ../Src/main.c(305): warning: #177-D: variable "temp" was declared but never referenced |
| | | { float temp; |
| | | ../Src/main.c(233): warning: #177-D: variable "temp2" was declared but never referenced |
| | | ../Src/main.c(306): warning: #177-D: variable "temp2" was declared but never referenced |
| | | uint16_t temp2; |
| | | ../Src/main.c(234): warning: #177-D: variable "i" was declared but never referenced |
| | | ../Src/main.c(307): warning: #177-D: variable "i" was declared but never referenced |
| | | uint16_t i; |
| | | ../Src/main.c(367): warning: #177-D: variable "blink_count" was declared but never referenced |
| | | ../Src/main.c(400): warning: #223-D: function "BarInit" declared implicitly |
| | | BarInit(); |
| | | ../Src/main.c(480): warning: #177-D: variable "blink_count" was declared but never referenced |
| | | { static uint16_t blink_count=0; |
| | | ../Src/main.c(638): warning: #223-D: function "Usart1InitVariables" declared implicitly |
| | | ../Src/main.c(814): warning: #223-D: function "Usart1InitVariables" declared implicitly |
| | | Usart1InitVariables(); |
| | | ../Src/main.c(278): warning: #177-D: function "SystemPower_Config" was declared but never referenced |
| | | ../Src/main.c(781): warning: #177-D: variable "GPIO_InitStruct" was declared but never referenced |
| | | GPIO_InitTypeDef GPIO_InitStruct = {0}; |
| | | ../Src/main.c(993): warning: #223-D: function "delay_ms" declared implicitly |
| | | delay_ms(100); |
| | | ../Src/main.c(996): warning: #223-D: function "delay_ms" declared implicitly |
| | | delay_ms(10); |
| | | ../Src/main.c(368): warning: #177-D: function "SystemPower_Config" was declared but never referenced |
| | | static void SystemPower_Config(void) |
| | | ../Src/main.c: 22 warnings, 0 errors |
| | | ../Src/main.c: 17 warnings, 0 errors |
| | | linking... |
| | | Program Size: Code=27804 RO-data=396 RW-data=396 ZI-data=6828 |
| | | Program Size: Code=30160 RO-data=544 RW-data=388 ZI-data=6716 |
| | | FromELF: creating hex file... |
| | | "L051\L051.axf" - 0 Error(s), 22 Warning(s). |
| | | "L051\L051.axf" - 0 Error(s), 17 Warning(s). |
| | | |
| | | <h2>Software Packages used:</h2> |
| | | |