µVision Build Log
Tool Versions:
IDE-Version: ¦ÌVision V5.30.0.0
Copyright (C) 2020 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: qweq xookko@outlook.com, qweqeq, LIC=47GU5-GD9Z0-FWK2N-Y9XQ0-MH3EA-KZ8D2
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.30.0.0
Toolchain Path: d:\Keil_v5\ARM\ARMCLANG\Bin
C Compiler: ArmClang.exe V6.14
Assembler: Armasm.exe V6.14
Linker/Locator: ArmLink.exe V6.14
Library Manager: ArmAr.exe V6.14
Hex Converter: FromElf.exe V6.14
CPU DLL: SARMCM3.DLL V5.30.0.0
Dialog DLL: DARMCM1.DLL V1.19.3.0
Target DLL: Segger\JL2CM3.dll V2.99.38.0
Dialog DLL: TARMCM1.DLL V1.14.2.0
Project:
D:\project_chen\ChinaUWBProject_URT no UWB\ChinaUWBProject\keil\uwb_simple_example.uvprojx
Project File Date: 03/14/2025
Output:
*** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'MK8000 Release'
compiling cmp_svec.c...
compiling mk_io.c...
compiling startup_MK800X.c...
compiling mk_gpio.c...
include/drivers/mk_adc.c(464): warning: 'NUM_SAMPLES' macro redefined [-Wmacro-redefined]
#define NUM_SAMPLES (3)
^
include/drivers/mk_adc.c(415): note: previous definition is here
#define NUM_SAMPLES (1)
^
1 warning generated.
compiling mk_adc.c...
compiling system_MK800X.c...
compiling mk_reset.c...
compiling mk_calib.c...
compiling mk_dual_timer.c...
compiling mk_flash.c...
compiling mk_clock.c...
compiling mk_dma.c...
compiling mk_aes.c...
compiling mk_rtc.c...
compiling mk_misc.c...
compiling mk_power.c...
compiling mk_sleep_timer.c...
compiling mk_uart.c...
compiling mk_wdt.c...
include/drivers/global_param.c(9): warning: no previous prototype for function 'parameter_check' [-Wmissing-prototypes]
uint8_t parameter_check(void)
^
include/drivers/global_param.c(9): note: declare 'static' if the function is not intended to be used outside of this translation unit
uint8_t parameter_check(void)
^
static
include/drivers/global_param.c(46): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
result=flash_open(FLASH_ID0,NULL);
~^~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/global_param.c(70): warning: implicit conversion changes signedness: 'int' to 'uint16_t' (aka 'unsigned short') [-Wsign-conversion]
g_com_map[DIST_OFFSET]=-31;
~^~~
include/drivers/global_param.c(107): warning: implicit conversion changes signedness: 'int' to 'uint16_t' (aka 'unsigned short') [-Wsign-conversion]
g_com_map[DIST_OFFSET]=-31;
~^~~
include/drivers/global_param.c(129): warning: no newline at end of file [-Wnewline-eof]
}
^
5 warnings generated.
compiling global_param.c...
compiling mk_uwb.c...
compiling mk_trace.c...
include/drivers/serial_at_cmd_app.c(43): warning: no previous extern declaration for non-static variable 'j_ct' [-Wmissing-variable-declarations]
uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0 ;
^
include/drivers/serial_at_cmd_app.c(43): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0 ;
^
include/drivers/serial_at_cmd_app.c(43): warning: no previous extern declaration for non-static variable 'CT_satrt_temp' [-Wmissing-variable-declarations]
uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0 ;
^
include/drivers/serial_at_cmd_app.c(43): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0 ;
^
include/drivers/serial_at_cmd_app.c(43): warning: no previous extern declaration for non-static variable 'CT_satrt' [-Wmissing-variable-declarations]
uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0 ;
^
include/drivers/serial_at_cmd_app.c(43): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0 ;
^
include/drivers/serial_at_cmd_app.c(43): warning: no previous extern declaration for non-static variable 'numb_base' [-Wmissing-variable-declarations]
uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0 ;
^
include/drivers/serial_at_cmd_app.c(43): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t j_ct=0,CT_satrt_temp=0,CT_satrt=0,numb_base=0 ;
^
include/drivers/serial_at_cmd_app.c(45): warning: no previous extern declaration for non-static variable 'id_cmpare' [-Wmissing-variable-declarations]
uint8_t id_cmpare[12]={0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x30, 0x30, 0x30, 0x31};//123456780001////RC2202A
^
include/drivers/serial_at_cmd_app.c(45): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t id_cmpare[12]={0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x30, 0x30, 0x30, 0x31};//123456780001////RC2202A
^
include/drivers/serial_at_cmd_app.c(46): warning: no previous extern declaration for non-static variable 'CT_sum' [-Wmissing-variable-declarations]
uint32_t CT_sum=0;
^
include/drivers/serial_at_cmd_app.c(46): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint32_t CT_sum=0;
^
include/drivers/serial_at_cmd_app.c(58): warning: no previous prototype for function 'Checksum_u16' [-Wmissing-prototypes]
uint16_t Checksum_u16(uint8_t* pdata, uint32_t len)
^
include/drivers/serial_at_cmd_app.c(58): note: declare 'static' if the function is not intended to be used outside of this translation unit
uint16_t Checksum_u16(uint8_t* pdata, uint32_t len)
^
static
include/drivers/serial_at_cmd_app.c(67): warning: no previous prototype for function 'SendComMap0' [-Wmissing-prototypes]
void SendComMap0(uint8_t data_length, uint8_t index)//ʾɹȡĻӦ
^
include/drivers/serial_at_cmd_app.c(67): note: declare 'static' if the function is not intended to be used outside of this translation unit
void SendComMap0(uint8_t data_length, uint8_t index)//ʾɹȡĻӦ
^
static
include/drivers/serial_at_cmd_app.c(88): warning: no previous prototype for function 'SendComMap' [-Wmissing-prototypes]
void SendComMap(uint8_t data_length, uint8_t index)//ʾɹȡĻӦ
^
include/drivers/serial_at_cmd_app.c(88): note: declare 'static' if the function is not intended to be used outside of this translation unit
void SendComMap(uint8_t data_length, uint8_t index)//ʾɹȡĻӦ
^
static
include/drivers/serial_at_cmd_app.c(116): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
result = flash_open(FLASH_ID0,NULL);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/serial_at_cmd_app.c(119): warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
result = flash_write_nbytes(FLASH_ID0,APP_CONFIG_IAPFLAG_MAP,(uint8_t*)&tmp,2);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/drivers/serial_at_cmd_app.c(121): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
Serial0PutString("ģʽ\r\n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/drivers/mk_uart.h(70): note: expanded from macro 'Serial0PutString'
#define Serial0PutString(x) Serial0_PutString((uint8_t*)(x))
^
include/drivers/serial_at_cmd_app.c(180): warning: 'break' will never be executed [-Wunreachable-code-break]
break;
^~~~~
include/drivers/serial_at_cmd_app.c(242): warning: unused variable 'checksum' [-Wunused-variable]
uint16_t checksum = 0;
^
include/drivers/serial_at_cmd_app.c(244): warning: unused variable 'pack_datalen' [-Wunused-variable]
static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
^
include/drivers/serial_at_cmd_app.c(244): warning: unused variable 'pack_length' [-Wunused-variable]
static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
^
include/drivers/serial_at_cmd_app.c(244): warning: unused variable 'pack_index' [-Wunused-variable]
static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
^
include/drivers/serial_at_cmd_app.c(244): warning: unused variable 'pack_msgtype' [-Wunused-variable]
static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
^
include/drivers/serial_at_cmd_app.c(244): warning: unused variable 'pack_cmd' [-Wunused-variable]
static uint8_t pack_datalen = 0,pack_length = 0,pack_index = 0,pack_msgtype = 0,pack_cmd = CMD_READ;
^
include/drivers/serial_at_cmd_app.c(42): warning: no previous extern declaration for non-static variable 'mUsart2ReceivePack_before' [-Wmissing-variable-declarations]
uint8_t mUsart2ReceivePack_before , mUsart2ReceivePack_now;
^
include/drivers/serial_at_cmd_app.c(42): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t mUsart2ReceivePack_before , mUsart2ReceivePack_now;
^
include/drivers/serial_at_cmd_app.c(42): warning: no previous extern declaration for non-static variable 'mUsart2ReceivePack_now' [-Wmissing-variable-declarations]
uint8_t mUsart2ReceivePack_before , mUsart2ReceivePack_now;
^
include/drivers/serial_at_cmd_app.c(42): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t mUsart2ReceivePack_before , mUsart2ReceivePack_now;
^
include/drivers/serial_at_cmd_app.c(47): warning: no previous extern declaration for non-static variable 'char_broadcast_data' [-Wmissing-variable-declarations]
char char_broadcast_data[80];//ã²¥
^
include/drivers/serial_at_cmd_app.c(47): note: declare 'static' if the variable is not intended to be used outside of this translation unit
char char_broadcast_data[80];//ã²¥
^
include/drivers/serial_at_cmd_app.c(49): warning: no previous extern declaration for non-static variable 'Lora_TXD_bff' [-Wmissing-variable-declarations]
uint8_t Lora_TXD_bff[Lora_TXD_bff_MAX]; //loraÍ»
^
include/drivers/serial_at_cmd_app.c(49): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint8_t Lora_TXD_bff[Lora_TXD_bff_MAX]; //loraÍ»
^
include/drivers/serial_at_cmd_app.c(50): warning: no previous extern declaration for non-static variable 'data_buff' [-Wmissing-variable-declarations]
uint16_t data_buff[data_buff_MAX][2]; //վݻ
^
include/drivers/serial_at_cmd_app.c(50): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t data_buff[data_buff_MAX][2]; //վݻ
^
include/drivers/serial_at_cmd_app.c(52): warning: no previous extern declaration for non-static variable 'char_mac' [-Wmissing-variable-declarations]
char char_mac[14],char_ssi[6];
^
include/drivers/serial_at_cmd_app.c(52): note: declare 'static' if the variable is not intended to be used outside of this translation unit
char char_mac[14],char_ssi[6];
^
include/drivers/serial_at_cmd_app.c(52): warning: no previous extern declaration for non-static variable 'char_ssi' [-Wmissing-variable-declarations]
char char_mac[14],char_ssi[6];
^
include/drivers/serial_at_cmd_app.c(52): note: declare 'static' if the variable is not intended to be used outside of this translation unit
char char_mac[14],char_ssi[6];
^
include/drivers/serial_at_cmd_app.c(54): warning: no previous extern declaration for non-static variable 'ssi_double' [-Wmissing-variable-declarations]
double ssi_double;
^
include/drivers/serial_at_cmd_app.c(54): note: declare 'static' if the variable is not intended to be used outside of this translation unit
double ssi_double;
^
include/drivers/serial_at_cmd_app.c(55): warning: no previous extern declaration for non-static variable 'temp_16' [-Wmissing-variable-declarations]
uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
^
include/drivers/serial_at_cmd_app.c(55): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
^
include/drivers/serial_at_cmd_app.c(55): warning: no previous extern declaration for non-static variable 'temp_16_id' [-Wmissing-variable-declarations]
uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
^
include/drivers/serial_at_cmd_app.c(55): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
^
include/drivers/serial_at_cmd_app.c(55): warning: no previous extern declaration for non-static variable 'temp_16_distance' [-Wmissing-variable-declarations]
uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
^
include/drivers/serial_at_cmd_app.c(55): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
^
include/drivers/serial_at_cmd_app.c(55): warning: no previous extern declaration for non-static variable 'data_buff_start' [-Wmissing-variable-declarations]
uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
^
include/drivers/serial_at_cmd_app.c(55): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t temp_16,temp_16_id,temp_16_distance,data_buff_start;
^
31 warnings generated.
compiling serial_at_cmd_app.c...
include/drivers/Usart.c(10): warning: no previous extern declaration for non-static variable 'm_EUART_TxFrm_Tail' [-Wmissing-variable-declarations]
volatile int8_t m_EUART_TxFrm_Tail = 0; //ݷ֡βָ
^
include/drivers/Usart.c(10): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile int8_t m_EUART_TxFrm_Tail = 0; //ݷ֡βָ
^
include/drivers/Usart.c(11): warning: no previous extern declaration for non-static variable 'm_EUART_TxFrm_Head' [-Wmissing-variable-declarations]
volatile int8_t m_EUART_TxFrm_Head = 0; //Ý·Ö¡Í·Ö¸
^
include/drivers/Usart.c(11): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile int8_t m_EUART_TxFrm_Head = 0; //Ý·Ö¡Í·Ö¸
^
include/drivers/Usart.c(12): warning: no previous extern declaration for non-static variable 'm_EUART_TxFrm_FreeFrmLen' [-Wmissing-variable-declarations]
volatile int8_t m_EUART_TxFrm_FreeFrmLen = 0; //Ý·Ö¡Ê£Ö¡
^
include/drivers/Usart.c(12): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile int8_t m_EUART_TxFrm_FreeFrmLen = 0; //Ý·Ö¡Ê£Ö¡
^
include/drivers/Usart.c(15): warning: no previous extern declaration for non-static variable 'm_EUART_DMA_RXPtr' [-Wmissing-variable-declarations]
volatile int32_t m_EUART_DMA_RXPtr = 0; //ǰݵַ
^
include/drivers/Usart.c(15): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile int32_t m_EUART_DMA_RXPtr = 0; //ǰݵַ
^
include/drivers/Usart.c(19): warning: no previous extern declaration for non-static variable 'm_bEUARTPushingFrms' [-Wmissing-variable-declarations]
volatile uint8_t m_bEUARTPushingFrms = 0; //Ͷд
^
include/drivers/Usart.c(19): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile uint8_t m_bEUARTPushingFrms = 0; //Ͷд
^
include/drivers/Usart.c(20): warning: no previous extern declaration for non-static variable 'm_bEUARTCheckingSend' [-Wmissing-variable-declarations]
volatile uint8_t m_bEUARTCheckingSend = 0; //È·Ý·
^
include/drivers/Usart.c(20): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile uint8_t m_bEUARTCheckingSend = 0; //È·Ý·
^
include/drivers/Usart.c(21): warning: no previous extern declaration for non-static variable 'm_bEUARTCheckingRec' [-Wmissing-variable-declarations]
volatile uint8_t m_bEUARTCheckingRec = 0; //