µ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_tag_URT\keil\uwb_simple_example.uvprojx
Project File Date: 09/13/2024
Output:
*** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'MK8000 Release'
compiling cmp_svec.c...
compiling mk_sleep_timer.c...
compiling mk_dma.c...
compiling mk_dual_timer.c...
include/drivers/mk_adc.c(411): warning: format specifies type 'int' but the argument has type 'void *' [-Wformat]
LOG_INFO(TRACE_MODULE_APP, "Chip adc callback %d degree\r\n", data);
~~ ^~~~
./include/drivers/mk_trace.h(170): note: expanded from macro 'LOG_INFO'
#define LOG_INFO(LOG_MODULE, str, ...) TRACE(LOG_MODULE, TRACE_LEVEL_INFO, str, ##__VA_ARGS__)
~~~ ^~~~~~~~~~~
./include/drivers/mk_trace.h(132): note: expanded from macro 'TRACE'
#define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__)
~~~ ^~~~~~~~~~~
1 warning generated.
compiling mk_adc.c...
compiling mk_reset.c...
compiling mk_io.c...
compiling mk_clock.c...
compiling mk_gpio.c...
compiling mk_calib.c...
compiling mk_power.c...
compiling mk_misc.c...
compiling mk_rtc.c...
compiling mk_aes.c...
compiling mk_wdt.c...
compiling mk_flash.c...
compiling mk_uwb.c...
compiling mk_uart.c...
compiling mk_trace.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...
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; //ȷϽ
^
include/drivers/Usart.c(21): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile uint8_t m_bEUARTCheckingRec = 0; //ȷϽ
^
include/drivers/Usart.c(22): warning: no previous extern declaration for non-static variable 'm_bEUARTTxEn' [-Wmissing-variable-declarations]
volatile uint8_t m_bEUARTTxEn = 0; //ʹܷ
^
include/drivers/Usart.c(22): note: declare 'static' if the variable is not intended to be used outside of this translation unit
volatile uint8_t m_bEUARTTxEn = 0; //ʹܷ
^
include/drivers/Usart.c(25): warning: no previous prototype for function 'Usart1InitVariables' [-Wmissing-prototypes]
void Usart1InitVariables(void)
^
include/drivers/Usart.c(25): note: declare 'static' if the function is not intended to be used outside of this translation unit
void Usart1InitVariables(void)
^
static
include/drivers/Usart.c(38): warning: no previous extern declaration for non-static variable 'cndtr' [-Wmissing-variable-declarations]
uint32_t cndtr=0;
^
include/drivers/Usart.c(38): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint32_t cndtr=0;
^
include/drivers/Usart.c(57): warning: implicit conversion changes signedness: 'unsigned int' to 'int32_t' (aka 'int') [-Wsign-conversion]
DMACnt = EUART_RX_BUF_SIZE - cndtr;
~ ~~~~~~~~~~~~~~~~~~^~~~~~~
include/drivers/Usart.c(67): warning: implicit conversion changes signedness: 'unsigned int' to 'int32_t' (aka 'int') [-Wsign-conversion]
DMACnt = EUART_RX_BUF_SIZE - cndtr;
~ ~~~~~~~~~~~~~~~~~~^~~~~~~
include/drivers/Usart.c(92): warning: implicit conversion changes signedness: 'unsigned int' to 'int32_t' (aka 'int') [-Wsign-conversion]
DMACnt = EUART_RX_BUF_SIZE - cndtr;
~ ~~~~~~~~~~~~~~~~~~^~~~~~~
include/drivers/Usart.c(102): warning: implicit conversion changes signedness: 'unsigned int' to 'int32_t' (aka 'int') [-Wsign-conversion]
DMACnt = EUART_RX_BUF_SIZE - cndtr;
~ ~~~~~~~~~~~~~~~~~~^~~~~~~
include/drivers/Usart.c(239): warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
memcpy((uint8_t*)m_EUART_TxFrames[m_EUART_TxFrm_Head].buf, (uint8_t*)pdata, data_len);
~~~~~~ ^~~~~~~~
include/drivers/Usart.c(259): warning: no previous prototype for function 'USART_putc' [-Wmissing-prototypes]
void USART_putc(uint8_t c)
^
include/drivers/Usart.c(259): note: declare 'static' if the function is not intended to be used outside of this translation unit
void USART_putc(uint8_t c)
^
static
include/drivers/Usart.c(269): warning: no previous prototype for function 'USART_puts' [-Wmissing-prototypes]
void USART_puts(uint8_t *s,uint8_t len)
^
include/drivers/Usart.c(269): note: declare 'static' if the function is not intended to be used outside of this translation unit
void USART_puts(uint8_t *s,uint8_t len)
^
static
include/drivers/Usart.c(9): warning: no previous extern declaration for non-static variable 'm_EUART_TxFrames' [-Wmissing-variable-declarations]
EUART_Frame m_EUART_TxFrames[EUART_TX_FRM_SIZE]; //Ý·Ö¡
^
include/drivers/Usart.c(9): note: declare 'static' if the variable is not intended to be used outside of this translation unit
EUART_Frame m_EUART_TxFrames[EUART_TX_FRM_SIZE]; //Ý·Ö¡
^
include/drivers/Usart.c(37): warning: no previous extern declaration for non-static variable 't3' [-Wmissing-variable-declarations]
uint16_t t3;
^
include/drivers/Usart.c(37): note: declare 'static' if the variable is not intended to be used outside of this translation unit
uint16_t t3;
^
19 warnings generated.
compiling Usart.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("