礦ision Build Log
Tool Versions:
IDE-Version: μVision V5.36.0.0
Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: 1 1, 1, LIC=D0D7S-LUDD6-UHI8H-WGPSX-UUXXX-1T4U9
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.36.0.0
Toolchain Path: D:\software\MDK5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 7 (build 960)
Assembler: Armasm.exe V5.06 update 7 (build 960)
Linker/Locator: ArmLink.exe V5.06 update 7 (build 960)
Library Manager: ArmAr.exe V5.06 update 7 (build 960)
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
CPU DLL: SARMCM3.DLL V5.36.0.0
Dialog DLL: DCM.DLL V1.17.3.0
Target DLL: Segger\JL2CM3.dll V2.99.40.0
Dialog DLL: TCM.DLL V1.53.0.0
Project:
D:\project\dtu_gateway\app\Proj\Ringzle.uvprojx
Project File Date: 10/28/2023
Output:
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\software\MDK5\ARM\ARMCC\Bin'
Build target 'GD32F103C8T6'
compiling gd32f10x_it.c...
..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
GATEWAY_PARAMS *get_gateway_config_params();
..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
void Read_Data();
..\App\gd32f10x_it.c: 2 warnings, 0 errors
compiling ec800m.c...
..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
GATEWAY_PARAMS *get_gateway_config_params();
..\App\ec800m.c(53): warning: #188-D: enumerated type mixed with another type
bool timeoutFlag = false;
..\App\ec800m.c(56): warning: #188-D: enumerated type mixed with another type
timeoutFlag = true;
..\App\ec800m.c(70): warning: #188-D: enumerated type mixed with another type
return true;
..\App\ec800m.c(77): warning: #188-D: enumerated type mixed with another type
return false;
..\App\ec800m.c(121): warning: #223-D: function "sprintf" declared implicitly
sprintf(command, CMD_SET_URL, strlen(url)); // CMD_SET_URL "%d\r\n"
..\App\ec800m.c(128): warning: #188-D: enumerated type mixed with another type
return false;
..\App\ec800m.c(134): warning: #188-D: enumerated type mixed with another type
return false;
..\App\ec800m.c(141): warning: #188-D: enumerated type mixed with another type
return false;
..\App\ec800m.c(151): warning: #188-D: enumerated type mixed with another type
return true;
..\App\ec800m.c(163): warning: #188-D: enumerated type mixed with another type
bool success = false;
..\App\ec800m.c(173): warning: #223-D: function "sprintf" declared implicitly
sprintf(cmd, "AT+QMTCFG=\"qmtping\",0,%d\r\n", keepalive);
..\App\ec800m.c(214): warning: #223-D: function "sprintf" declared implicitly
sprintf((char *)payload_out,"{\"deviceId\":\"%s\",\"data\":[",gateway->deviceId);//缁勬垚json澶撮儴
..\App\ec800m.c(249): warning: #111-D: statement is unreachable
break;
..\App\ec800m.c(344): warning: #223-D: function "sprintf" declared implicitly
sprintf(AT_SUB, "AT+QMTSUB=0,1,\"%s\",0\r\n", commandTopic);
..\App\ec800m.c(345): warning: #188-D: enumerated type mixed with another type
bool success = false;
..\App\ec800m.c: 16 warnings, 0 errors
compiling systick.c...
compiling device_message.c...
..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
GATEWAY_PARAMS *get_gateway_config_params();
..\App\device_message.c(48): warning: #940-D: missing return statement at end of non-void function "addGatewayParams"
}
..\App\device_message.c(135): warning: #223-D: function "sscanf" declared implicitly
sscanf((const char *)&string[j * 2], "%2hhx", &byte);
..\App\device_message.c(127): warning: #177-D: variable "read_modbus_command" was declared but never referenced
READ_MODBUS_COMMAND *read_modbus_command =NULL;
..\App\device_message.c(157): warning: #177-D: variable "read_dlt645_command" was declared but never referenced
READ_DLT645_COMMAND *read_dlt645_command = NULL;
..\App\device_message.c(221): warning: #223-D: function "sscanf" declared implicitly
sscanf(ptr, "%[^\"],", value);
..\App\device_message.c(222): warning: #1-D: last line of file ends without a newline
}
..\App\device_message.c: 7 warnings, 0 errors
compiling mqttRecv.c...
..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
GATEWAY_PARAMS *get_gateway_config_params();
..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
void Read_Data();
..\App\mqttRecv.c(25): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
for (; i < strlen(UART0_RX_BUF); i++)
..\App\mqttRecv.c(71): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
strcpy(json, (char *)json_buf); // 将JSON数据拷贝到输出缓冲区中
..\App\mqttRecv.c: 4 warnings, 0 errors
compiling parseDeviceMessage.c...
..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
GATEWAY_PARAMS *get_gateway_config_params();
..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
void Read_Data();
..\App\parseDeviceMessage.c(71): warning: #177-D: variable "temp" was declared but never referenced
char *temp;
..\App\parseDeviceMessage.c(84): warning: #940-D: missing return statement at end of non-void function "WaitForUpData"
}
..\App\parseDeviceMessage.c(205): warning: #188-D: enumerated type mixed with another type
mmodbus_set16bitOrder(currentDevice->MDBbigLittleFormat); //璁剧疆澶у皬绔?
..\App\parseDeviceMessage.c(379): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
while (MQTT_BUFFER_READ(json))
..\App\parseDeviceMessage.c(387): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
strcpy(action1, processStringData(mqtt_sub_json, "action"));
..\App\parseDeviceMessage.c(440): warning: #188-D: enumerated type mixed with another type
mmodbus_set16bitOrder(currentDevice->MDBbigLittleFormat);
..\App\parseDeviceMessage.c(520): warning: #188-D: enumerated type mixed with another type
mmodbus_set16bitOrder(currentDevice->MDBbigLittleFormat);
..\App\parseDeviceMessage.c(528): warning: #177-D: variable "value1" was declared but never referenced
uint8_t value1;
..\App\parseDeviceMessage.c: 10 warnings, 0 errors
compiling main.c...
..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
GATEWAY_PARAMS *get_gateway_config_params();
..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
void Read_Data();
..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
int8_t check_ota_event();
..\App\main.c(66): warning: #1295-D: Deprecated declaration fwdgt_init - give arg types
void fwdgt_init();
..\App\main.c(67): warning: #1295-D: Deprecated declaration task_fwdgt_reload - give arg types
void task_fwdgt_reload();
..\App\main.c(104): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
http_load_config(httpURL);
..\App\main.c(216): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *"
if (EC800MGetUrl(httpURL,dmabuffer,BufferSize) == true) // 从http获取信息,获取成功则保存到本地
..\App\main.c: 7 warnings, 0 errors
compiling PC.c...
..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
GATEWAY_PARAMS *get_gateway_config_params();
..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
void Read_Data();
..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
int8_t check_ota_event();
..\App\PC.c(25): warning: #1295-D: Deprecated declaration read_json_config - give arg types
void read_json_config();
..\App\PC.c(264): warning: #167-D: argument of type "char *" is incompatible with parameter of type "const uint8_t *"
uint16_t CRC16=mmodbus_crc16(gatewayConfigData+1,strlen(gatewayConfigData)-1);
..\App\PC.c(269): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
gd_com_232_send(gatewayConfigData,strlen(gatewayConfigData));
..\App\PC.c(426): warning: #223-D: function "delay_1ms" declared implicitly
delay_1ms(50);
..\App\PC.c: 7 warnings, 0 errors
compiling key.c...
..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
GATEWAY_PARAMS *get_gateway_config_params();
..\bsp\key.c: 1 warning, 0 errors
compiling otaEvent.c...
..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
int8_t check_ota_event();
..\App\otaEvent.c(45): warning: #940-D: missing return statement at end of non-void function "check_ota_event"
}
..\App\otaEvent.c(78): warning: #223-D: function "memcpy" declared implicitly
memcpy(w25q32_data+128,ota_data.data + 3,128);
..\App\otaEvent.c(80): warning: #223-D: function "memset" declared implicitly
memset(w25q32_data,0,256);
..\App\otaEvent.c(84): warning: #223-D: function "memcpy" declared implicitly
memcpy(w25q32_data,ota_data.data + 3,128);
..\App\otaEvent.c(88): warning: #223-D: function "memset" declared implicitly
memset(ota_data.data, 0, 133);
..\App\otaEvent.c(96): warning: #223-D: function "memset" declared implicitly
memset(ota_data.data, 0, 133);
..\App\otaEvent.c(127): warning: #223-D: function "memset" declared implicitly
memset(ota_data.data, 0, 133);
..\App\otaEvent.c: 8 warnings, 0 errors
compiling dlt645_port.c...
..\dlt\port\dlt645_port.c(84): warning: #223-D: function "memcpy" declared implicitly
memcpy(msg, &(dlt645_port.rxBuf[4]), len-4);
..\dlt\port\dlt645_port.c(103): warning: #223-D: function "memset" declared implicitly
memset(dlt645_port.rxBuf, 0, DLT_RXSIZE);
..\dlt\port\dlt645_port.c: 2 warnings, 0 errors
linking...
Program Size: Code=31044 RO-data=1696 RW-data=224 ZI-data=83224
FromELF: creating hex file...
After Build - User command #1: fromelf --bin --output ./Objects/Ringzle.bin ./Objects/Ringzle.axf
".\Objects\Ringzle.axf" - 0 Error(s), 64 Warning(s).
Software Packages used:
Package Vendor: GigaDevice
https://gd32mcu.com/data/documents/pack/GigaDevice.GD32F10x_DFP.2.1.0.pack
GigaDevice.GD32F10x_DFP.2.1.0
GigaDevice GD32F10x Series Device Support and Examples
Collection of Component include folders:
D:\software\MDK5\Pack\GigaDevice\GD32F10x_DFP\2.1.0\Device\Include
Collection of Component Files used:
Build Time Elapsed: 00:00:05