礦ision Build Log
Tool Versions:
IDE-Version: μVision V5.24.2.0
Copyright (C) 2017 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: z zhuhongbin, fd, LIC=21E4T-RX54U-Y8SFK-ZXA4P-7FG8I-QFI5D
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.24.1
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 5 (build 528)
Assembler: Armasm.exe V5.06 update 5 (build 528)
Linker/Locator: ArmLink.exe V5.06 update 5 (build 528)
Library Manager: ArmAr.exe V5.06 update 5 (build 528)
Hex Converter: FromElf.exe V5.06 update 5 (build 528)
CPU DLL: SARMCM3.DLL V5.24.1
Dialog DLL: DCM.DLL V1.16.0.0
Target DLL: Segger\JL2CM3.dll V2.99.26.0
Dialog DLL: TCM.DLL V1.32.0.0
Project:
D:\test\MDK-ARM\test.uvprojx
Project File Date: 11/19/2021
Output:
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'test'
assembling startup_stm32f103xe.s...
compiling syscall_armlibc.c...
compiling dma.c...
compiling stm32f1xx_hal_msp.c...
compiling iwdg.c...
compiling gpio.c...
compiling stm32f1xx_it.c...
compiling main.c...
../Src/main.c(71): warning: #177-D: function "exception_hook" was declared but never referenced
static rt_err_t exception_hook(void *context) {
../Src/main.c(109): warning: C4018W: division by zero: /
z = x / y;
../Src/main.c: 2 warnings, 0 errors
compiling usart.c...
compiling stm32f1xx_hal_iwdg.c...
compiling stm32f1xx_hal_gpio_ex.c...
compiling stm32f1xx_hal_rcc_ex.c...
compiling system_stm32f1xx.c...
compiling stm32f1xx_hal_rcc.c...
compiling stm32f1xx_hal_gpio.c...
compiling stm32f1xx_hal.c...
compiling stm32f1xx_hal_flash_ex.c...
compiling stm32f1xx_hal_cortex.c...
compiling stm32f1xx_hal_exti.c...
compiling stm32f1xx_hal_tim.c...
compiling stm32f1xx_hal_pwr.c...
compiling fal.c...
compiling fal_flash.c...
..\fal\src\fal_flash.c(45): warning: #550-D: variable "dev" was set but never used
const struct fal_flash_dev *dev;
..\fal\src\fal_flash.c: 1 warning, 0 errors
compiling fal_rtt.c...
compiling fal_partition.c...
compiling stm32f1xx_hal_flash.c...
compiling fdb.c...
compiling fdb_utils.c...
compiling stm32f1xx_hal_dma.c...
compiling fdb_tsdb.c...
compiling fdb_kvdb.c...
compiling stm32f1xx_hal_tim_ex.c...
compiling fal_flash_stm32f1_port.c...
compiling flash.c...
compiling init.c...
compiling stm32f1xx_hal_uart.c...
compiling buffer.c...
..\tmr\buffer.c(270): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *"
rt_strncpy(dataframehead.Buffer, XbeeConst_FRxBuf0, 4);
..\tmr\buffer.c(270): warning: #167-D: argument of type "unsigned char *" is incompatible with parameter of type "const char *"
rt_strncpy(dataframehead.Buffer, XbeeConst_FRxBuf0, 4);
..\tmr\buffer.c(333): warning: #223-D: function "findlastplan" declared implicitly
foundlastplan_ = findlastplan();
..\tmr\buffer.c(708): warning: #550-D: variable "tempval" was set but never used
unsigned char tempval;
..\tmr\buffer.c: 4 warnings, 0 errors
compiling xBeeAppEscapingMode.c...
compiling cm_backtrace.c...
..\cm_backtrace\cm_backtrace.c(567): warning: #177-D: variable "regs_name" was declared but never referenced
const char *regs_name[] = { "R0 ", "R1 ", "R2 ", "R3 ", "R12", "LR ", "PC ", "PSR" };
..\cm_backtrace\cm_backtrace.c(108): warning: #177-D: variable "print_info" was declared but never referenced
static const char * const print_info[] = {
..\cm_backtrace\cm_backtrace.c(216): warning: #177-D: function "get_cur_thread_name" was declared but never referenced
static const char *get_cur_thread_name(void) {
..\cm_backtrace\cm_backtrace.c: 3 warnings, 0 errors
compiling display.c...
compiling cmd.c...
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\components\finsh\cmd.c(161): warning: #177-D: variable "item_title" was declared but never referenced
const char *item_title = "thread";
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\components\finsh\cmd.c(254): warning: #550-D: variable "thread" was set but never used
struct rt_thread *thread;
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\components\finsh\cmd.c(276): warning: #177-D: variable "item_title" was declared but never referenced
const char *item_title = "semaphore";
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\components\finsh\cmd.c(343): warning: #177-D: variable "item_title" was declared but never referenced
const char *item_title = "event";
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\components\finsh\cmd.c(740): warning: #177-D: variable "item_title" was declared but never referenced
const char *item_title = "timer";
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\components\finsh\cmd.c: 5 warnings, 0 errors
compiling msh.c...
assembling context_rvds.S...
compiling shell.c...
compiling cpuport.c...
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\libcpu\arm\cortex-m3\cpuport.c(294): warning: #177-D: variable "context" was declared but never referenced
struct stack_frame* context = &exception_info->stack_frame;
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\libcpu\arm\cortex-m3\cpuport.c: 1 warning, 0 errors
compiling clock.c...
compiling components.c...
compiling idle.c...
compiling irq.c...
compiling ipc.c...
compiling mem.c...
compiling kservice.c...
compiling object.c...
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\src\object.c(262): warning: #550-D: variable "obj" was set but never used
struct rt_object *obj;
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\src\object.c: 1 warning, 0 errors
compiling scheduler.c...
compiling thread.c...
compiling timer.c...
compiling daScreen.c...
compiling plan.c...
compiling button.c...
compiling Ad.c...
compiling weight.c...
..\tmr\weight.c(1882): warning: #676-D: using out-of-scope declaration of variable "iscowweight" (declared at line 72)
if (iscowweight==1) {
..\tmr\weight.c(1964): warning: #167-D: argument of type "void (*)(void)" is incompatible with parameter of type "void (*)(void *)"
ReadWeightthread, RT_NULL,
..\tmr\weight.c(1977): warning: #167-D: argument of type "void (*)(void)" is incompatible with parameter of type "void (*)(void *)"
CheckWeightthread, RT_NULL,
..\tmr\weight.c(2014): warning: #167-D: argument of type "void (*)(void)" is incompatible with parameter of type "void (*)(void *)"
ReadEIDthread, RT_NULL,
..\tmr\weight.c(43): warning: #550-D: variable "WeightConst_WeightCur_last3" was set but never used
static signed short WeightConst_WeightCur_last3=0;
..\tmr\weight.c(363): warning: #177-D: function "P_300G0" was declared but never referenced
static void P_300G0() {
..\tmr\weight.c(420): warning: #177-D: function "P_300G1" was declared but never referenced
static void P_300G1() {
..\tmr\weight.c(596): warning: #177-D: function "P_AWH_30_SA" was declared but never referenced
static void P_AWH_30_SA() {
..\tmr\weight.c(653): warning: #177-D: function "P_digi" was declared but never referenced
static void P_digi() {
..\tmr\weight.c(905): warning: #177-D: function "P_HF" was declared but never referenced
static void P_HF() {
..\tmr\weight.c(953): warning: #177-D: function "P_E_2000" was declared but never referenced
static void P_E_2000() {
..\tmr\weight.c(1272): warning: #177-D: function "P_TQ" was declared but never referenced
static void P_TQ() {
..\tmr\weight.c(1480): warning: #177-D: function "P_NEWLabel" was declared but never referenced
static void P_NEWLabel() {
..\tmr\weight.c: 13 warnings, 0 errors
compiling board.c...
linking...
Program Size: Code=61972 RO-data=4720 RW-data=1648 ZI-data=46320
FromELF: creating hex file...
After Build - User command #1: fromelf.exe --bin -o "test\TMRWatch_OTA.bin" "test\TMRWatch_OTA.axf"
After Build - User command #2: D:\test\MDK-ARM\BootLoader\TMR.bat
D:\test\MDK-ARM>del .\bootLoader\TMRWatchAndBoot.bin
D:\test\MDK-ARM>copy .\test\TMRWatch_OTA.bin .\bootLoader
已复制 1 个文件。
D:\test\MDK-ARM>fsutil file createnew .\bootLoader\TMRWatchAndBoot.bin 8192
已创建文件 D:\test\MDK-ARM\bootLoader\TMRWatchAndBoot.bin
D:\test\MDK-ARM>.\bootLoader\hbin .\bootLoader\TMRWatchBoot.bin .\bootLoader\TMRWatchAndBoot.bin
D:\test\MDK-ARM>.\bootLoader\cat .\bootLoader\TMRWatch_OTA.bin 1>>.\bootLoader\TMRWatchAndBoot.bin
"test\TMRWatch_OTA.axf" - 0 Error(s), 30 Warning(s).
Software Packages used:
Package Vendor: ARM
http://www.keil.com/pack/ARM.CMSIS.5.0.1.pack
ARM.CMSIS.5.0.1
CMSIS (Cortex Microcontroller Software Interface Standard)
* Component: CORE Version: 5.0.1
Package Vendor: RealThread
https://www.rt-thread.org/download/mdk/RealThread.RT-Thread.3.1.3.pack
RealThread.RT-Thread.3.1.3
RT-Thread Software Components
* Component: shell Version: 3.1.3
* Component: kernel Version: 3.1.3
Package Vendor: Keil
http://www.keil.com/pack/Keil.STM32F1xx_DFP.2.1.0.pack
Keil.STM32F1xx_DFP.2.1.0
STMicroelectronics STM32F1 Series Device Support, Drivers and Examples
Collection of Component include folders:
.\RTE\RTOS
.\RTE\_test
C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.0.1\CMSIS\Include
C:\Keil_v5\ARM\PACK\Keil\STM32F1xx_DFP\2.1.0\Device\Include
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\components\finsh
C:\Keil_v5\ARM\PACK\RealThread\RT-Thread\3.1.3\include
Collection of Component Files used:
* Component: RealThread.RT-Thread::RTOS:shell:3.1.3
Source file: components\finsh\shell.c
Source file: components\finsh\cmd.c
Source file: components\finsh\msh.c
* Component: RealThread.RT-Thread::RTOS:kernel:3.1.3
Source file: src\kservice.c
Source file: src\object.c
Source file: src\scheduler.c
Source file: libcpu\arm\cortex-m3\context_rvds.S
Source file: src\irq.c
Source file: src\thread.c
Source file: bsp\board.c
Source file: libcpu\arm\cortex-m3\cpuport.c
Include file: bsp\rtconfig.h
Source file: src\clock.c
Source file: src\idle.c
Source file: src\mem.c
Source file: src\timer.c
Source file: src\components.c
Source file: src\ipc.c
* Component: ARM::CMSIS:CORE:5.0.1
Build Time Elapsed: 00:00:19