Ringzle.build_log.htm 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <html>
  2. <body>
  3. <pre>
  4. <h1>礦ision Build Log</h1>
  5. <h2>Tool Versions:</h2>
  6. IDE-Version: μVision V5.36.0.0
  7. Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
  8. License Information: 1 1, 1, LIC=D0D7S-LUDD6-UHI8H-WGPSX-UUXXX-1T4U9
  9. Tool Versions:
  10. Toolchain: MDK-ARM Plus Version: 5.36.0.0
  11. Toolchain Path: D:\software\MDK5\ARM\ARMCC\Bin
  12. C Compiler: Armcc.exe V5.06 update 7 (build 960)
  13. Assembler: Armasm.exe V5.06 update 7 (build 960)
  14. Linker/Locator: ArmLink.exe V5.06 update 7 (build 960)
  15. Library Manager: ArmAr.exe V5.06 update 7 (build 960)
  16. Hex Converter: FromElf.exe V5.06 update 7 (build 960)
  17. CPU DLL: SARMCM3.DLL V5.36.0.0
  18. Dialog DLL: DCM.DLL V1.17.3.0
  19. Target DLL: Segger\JL2CM3.dll V2.99.40.0
  20. Dialog DLL: TCM.DLL V1.53.0.0
  21. <h2>Project:</h2>
  22. D:\project\dtu_gateway\app\Proj\Ringzle.uvprojx
  23. Project File Date: 10/28/2023
  24. <h2>Output:</h2>
  25. *** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\software\MDK5\ARM\ARMCC\Bin'
  26. Build target 'GD32F103C8T6'
  27. compiling gd32f10x_it.c...
  28. ..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
  29. GATEWAY_PARAMS *get_gateway_config_params();
  30. ..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
  31. void Read_Data();
  32. ..\App\gd32f10x_it.c: 2 warnings, 0 errors
  33. compiling ec800m.c...
  34. ..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
  35. GATEWAY_PARAMS *get_gateway_config_params();
  36. ..\App\ec800m.c(53): warning: #188-D: enumerated type mixed with another type
  37. bool timeoutFlag = false;
  38. ..\App\ec800m.c(56): warning: #188-D: enumerated type mixed with another type
  39. timeoutFlag = true;
  40. ..\App\ec800m.c(70): warning: #188-D: enumerated type mixed with another type
  41. return true;
  42. ..\App\ec800m.c(77): warning: #188-D: enumerated type mixed with another type
  43. return false;
  44. ..\App\ec800m.c(121): warning: #223-D: function "sprintf" declared implicitly
  45. sprintf(command, CMD_SET_URL, strlen(url)); // CMD_SET_URL "%d\r\n"
  46. ..\App\ec800m.c(128): warning: #188-D: enumerated type mixed with another type
  47. return false;
  48. ..\App\ec800m.c(134): warning: #188-D: enumerated type mixed with another type
  49. return false;
  50. ..\App\ec800m.c(141): warning: #188-D: enumerated type mixed with another type
  51. return false;
  52. ..\App\ec800m.c(151): warning: #188-D: enumerated type mixed with another type
  53. return true;
  54. ..\App\ec800m.c(163): warning: #188-D: enumerated type mixed with another type
  55. bool success = false;
  56. ..\App\ec800m.c(173): warning: #223-D: function "sprintf" declared implicitly
  57. sprintf(cmd, "AT+QMTCFG=\"qmtping\",0,%d\r\n", keepalive);
  58. ..\App\ec800m.c(214): warning: #223-D: function "sprintf" declared implicitly
  59. sprintf((char *)payload_out,"{\"deviceId\":\"%s\",\"data\":[",gateway->deviceId);//缁勬垚json澶撮儴
  60. ..\App\ec800m.c(249): warning: #111-D: statement is unreachable
  61. break;
  62. ..\App\ec800m.c(344): warning: #223-D: function "sprintf" declared implicitly
  63. sprintf(AT_SUB, "AT+QMTSUB=0,1,\"%s\",0\r\n", commandTopic);
  64. ..\App\ec800m.c(345): warning: #188-D: enumerated type mixed with another type
  65. bool success = false;
  66. ..\App\ec800m.c: 16 warnings, 0 errors
  67. compiling systick.c...
  68. compiling device_message.c...
  69. ..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
  70. GATEWAY_PARAMS *get_gateway_config_params();
  71. ..\App\device_message.c(48): warning: #940-D: missing return statement at end of non-void function "addGatewayParams"
  72. }
  73. ..\App\device_message.c(135): warning: #223-D: function "sscanf" declared implicitly
  74. sscanf((const char *)&string[j * 2], "%2hhx", &byte);
  75. ..\App\device_message.c(127): warning: #177-D: variable "read_modbus_command" was declared but never referenced
  76. READ_MODBUS_COMMAND *read_modbus_command =NULL;
  77. ..\App\device_message.c(157): warning: #177-D: variable "read_dlt645_command" was declared but never referenced
  78. READ_DLT645_COMMAND *read_dlt645_command = NULL;
  79. ..\App\device_message.c(221): warning: #223-D: function "sscanf" declared implicitly
  80. sscanf(ptr, "%[^\"],", value);
  81. ..\App\device_message.c(222): warning: #1-D: last line of file ends without a newline
  82. }
  83. ..\App\device_message.c: 7 warnings, 0 errors
  84. compiling mqttRecv.c...
  85. ..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
  86. GATEWAY_PARAMS *get_gateway_config_params();
  87. ..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
  88. void Read_Data();
  89. ..\App\mqttRecv.c(25): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  90. for (; i < strlen(UART0_RX_BUF); i++)
  91. ..\App\mqttRecv.c(71): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  92. strcpy(json, (char *)json_buf); // 将JSON数据拷贝到输出缓冲区中
  93. ..\App\mqttRecv.c: 4 warnings, 0 errors
  94. compiling parseDeviceMessage.c...
  95. ..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
  96. GATEWAY_PARAMS *get_gateway_config_params();
  97. ..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
  98. void Read_Data();
  99. ..\App\parseDeviceMessage.c(71): warning: #177-D: variable "temp" was declared but never referenced
  100. char *temp;
  101. ..\App\parseDeviceMessage.c(84): warning: #940-D: missing return statement at end of non-void function "WaitForUpData"
  102. }
  103. ..\App\parseDeviceMessage.c(205): warning: #188-D: enumerated type mixed with another type
  104. mmodbus_set16bitOrder(currentDevice->MDBbigLittleFormat); //璁剧疆澶у皬绔?
  105. ..\App\parseDeviceMessage.c(379): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
  106. while (MQTT_BUFFER_READ(json))
  107. ..\App\parseDeviceMessage.c(387): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  108. strcpy(action1, processStringData(mqtt_sub_json, "action"));
  109. ..\App\parseDeviceMessage.c(440): warning: #188-D: enumerated type mixed with another type
  110. mmodbus_set16bitOrder(currentDevice->MDBbigLittleFormat);
  111. ..\App\parseDeviceMessage.c(520): warning: #188-D: enumerated type mixed with another type
  112. mmodbus_set16bitOrder(currentDevice->MDBbigLittleFormat);
  113. ..\App\parseDeviceMessage.c(528): warning: #177-D: variable "value1" was declared but never referenced
  114. uint8_t value1;
  115. ..\App\parseDeviceMessage.c: 10 warnings, 0 errors
  116. compiling main.c...
  117. ..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
  118. GATEWAY_PARAMS *get_gateway_config_params();
  119. ..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
  120. void Read_Data();
  121. ..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
  122. int8_t check_ota_event();
  123. ..\App\main.c(66): warning: #1295-D: Deprecated declaration fwdgt_init - give arg types
  124. void fwdgt_init();
  125. ..\App\main.c(67): warning: #1295-D: Deprecated declaration task_fwdgt_reload - give arg types
  126. void task_fwdgt_reload();
  127. ..\App\main.c(104): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
  128. http_load_config(httpURL);
  129. ..\App\main.c(216): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *"
  130. if (EC800MGetUrl(httpURL,dmabuffer,BufferSize) == true) // 从http获取信息,获取成功则保存到本地
  131. ..\App\main.c: 7 warnings, 0 errors
  132. compiling PC.c...
  133. ..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
  134. GATEWAY_PARAMS *get_gateway_config_params();
  135. ..\App\parseDeviceMessage.h(13): warning: #1295-D: Deprecated declaration Read_Data - give arg types
  136. void Read_Data();
  137. ..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
  138. int8_t check_ota_event();
  139. ..\App\PC.c(25): warning: #1295-D: Deprecated declaration read_json_config - give arg types
  140. void read_json_config();
  141. ..\App\PC.c(264): warning: #167-D: argument of type "char *" is incompatible with parameter of type "const uint8_t *"
  142. uint16_t CRC16=mmodbus_crc16(gatewayConfigData+1,strlen(gatewayConfigData)-1);
  143. ..\App\PC.c(269): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
  144. gd_com_232_send(gatewayConfigData,strlen(gatewayConfigData));
  145. ..\App\PC.c(426): warning: #223-D: function "delay_1ms" declared implicitly
  146. delay_1ms(50);
  147. ..\App\PC.c: 7 warnings, 0 errors
  148. compiling key.c...
  149. ..\App\device_message.h(99): warning: #1295-D: Deprecated declaration get_gateway_config_params - give arg types
  150. GATEWAY_PARAMS *get_gateway_config_params();
  151. ..\bsp\key.c: 1 warning, 0 errors
  152. compiling otaEvent.c...
  153. ..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
  154. int8_t check_ota_event();
  155. ..\App\otaEvent.c(45): warning: #940-D: missing return statement at end of non-void function "check_ota_event"
  156. }
  157. ..\App\otaEvent.c(78): warning: #223-D: function "memcpy" declared implicitly
  158. memcpy(w25q32_data+128,ota_data.data + 3,128);
  159. ..\App\otaEvent.c(80): warning: #223-D: function "memset" declared implicitly
  160. memset(w25q32_data,0,256);
  161. ..\App\otaEvent.c(84): warning: #223-D: function "memcpy" declared implicitly
  162. memcpy(w25q32_data,ota_data.data + 3,128);
  163. ..\App\otaEvent.c(88): warning: #223-D: function "memset" declared implicitly
  164. memset(ota_data.data, 0, 133);
  165. ..\App\otaEvent.c(96): warning: #223-D: function "memset" declared implicitly
  166. memset(ota_data.data, 0, 133);
  167. ..\App\otaEvent.c(127): warning: #223-D: function "memset" declared implicitly
  168. memset(ota_data.data, 0, 133);
  169. ..\App\otaEvent.c: 8 warnings, 0 errors
  170. compiling dlt645_port.c...
  171. ..\dlt\port\dlt645_port.c(84): warning: #223-D: function "memcpy" declared implicitly
  172. memcpy(msg, &(dlt645_port.rxBuf[4]), len-4);
  173. ..\dlt\port\dlt645_port.c(103): warning: #223-D: function "memset" declared implicitly
  174. memset(dlt645_port.rxBuf, 0, DLT_RXSIZE);
  175. ..\dlt\port\dlt645_port.c: 2 warnings, 0 errors
  176. linking...
  177. Program Size: Code=31044 RO-data=1696 RW-data=224 ZI-data=83224
  178. FromELF: creating hex file...
  179. After Build - User command #1: fromelf --bin --output ./Objects/Ringzle.bin ./Objects/Ringzle.axf
  180. ".\Objects\Ringzle.axf" - 0 Error(s), 64 Warning(s).
  181. <h2>Software Packages used:</h2>
  182. Package Vendor: GigaDevice
  183. https://gd32mcu.com/data/documents/pack/GigaDevice.GD32F10x_DFP.2.1.0.pack
  184. GigaDevice.GD32F10x_DFP.2.1.0
  185. GigaDevice GD32F10x Series Device Support and Examples
  186. <h2>Collection of Component include folders:</h2>
  187. D:\software\MDK5\Pack\GigaDevice\GD32F10x_DFP\2.1.0\Device\Include
  188. <h2>Collection of Component Files used:</h2>
  189. Build Time Elapsed: 00:00:05
  190. </pre>
  191. </body>
  192. </html>