Ringzle.build_log.htm 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. <html>
  2. <body>
  3. <pre>
  4. <h1>礦ision Build Log</h1>
  5. <h2>Tool Versions:</h2>
  6. IDE-Version: μVision V5.29.0.0
  7. Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved.
  8. License Information: s yf, 11, LIC=WHYH9-4R8F5-WFPI7-E0KRQ-DXARV-W9U12
  9. Tool Versions:
  10. Toolchain: MDK-ARM Plus Version: 5.29.0.0
  11. Toolchain Path: D:\workSoftware\stm32Software\mdk\mdkcore\ARM\ARMCC\Bin
  12. C Compiler: Armcc.exe V5.06 update 6 (build 750)
  13. Assembler: Armasm.exe V5.06 update 6 (build 750)
  14. Linker/Locator: ArmLink.exe V5.06 update 6 (build 750)
  15. Library Manager: ArmAr.exe V5.06 update 6 (build 750)
  16. Hex Converter: FromElf.exe V5.06 update 6 (build 750)
  17. CPU DLL: SARMCM3.DLL V5.29.0.0
  18. Dialog DLL: DCM.DLL V1.17.3.0
  19. Target DLL: Segger\JL2CM3.dll V2.99.36.0
  20. Dialog DLL: TCM.DLL V1.36.5.0
  21. <h2>Project:</h2>
  22. D:\Project\dtu_gateway\app\Proj\Ringzle.uvprojx
  23. Project File Date: 08/15/2023
  24. <h2>Output:</h2>
  25. *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\workSoftware\stm32Software\mdk\mdkcore\ARM\ARMCC\Bin'
  26. Rebuild target 'GD32F103C8T6'
  27. assembling startup_gd32f10x_xd.s...
  28. compiling gd32f10x_it.c...
  29. compiling log.c...
  30. compiling device_message.c...
  31. ..\App\device_message.c(23): warning: #223-D: function "memset" declared implicitly
  32. memset(&config_params_union, 0, sizeof(CONFIG_PARAMS_UNION));
  33. ..\App\device_message.c(24): warning: #223-D: function "memcpy" declared implicitly
  34. memcpy(&config_params_union.config_params, params, sizeof(CONFIG_PARAMS));
  35. ..\App\device_message.c(39): warning: #223-D: function "memset" declared implicitly
  36. memset(&config_params_union, 0, sizeof(CONFIG_PARAMS_UNION));//清空原先数据
  37. ..\App\device_message.c(42): warning: #223-D: function "memcpy" declared implicitly
  38. memcpy(&g_config_params, &config_params_union.config_params, sizeof(CONFIG_PARAMS));
  39. ..\App\device_message.c: 4 warnings, 0 errors
  40. compiling main.c...
  41. ..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
  42. int8_t check_ota_event();
  43. ..\App\main.c(65): warning: #1295-D: Deprecated declaration fwdgt_init - give arg types
  44. void fwdgt_init();
  45. ..\App\main.c(66): warning: #1295-D: Deprecated declaration task_fwdgt_reload - give arg types
  46. void task_fwdgt_reload();
  47. ..\App\main.c(95): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  48. strcpy(gateway->deviceId, strID);
  49. ..\App\main.c(96): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  50. strcpy(gateway->version, VERSION);
  51. ..\App\main.c(97): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  52. strcpy(gateway->gatewayMode, GATEWAYMODE);
  53. ..\App\main.c(98): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  54. strcpy(gateway->gateName,GATEWAYNAME);
  55. ..\App\main.c(104): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
  56. http_load_config(httpURL);
  57. ..\App\main.c(121): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  58. strcpy(gateway->deviceId, strID);
  59. ..\App\main.c(122): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  60. strcpy(gateway->version, VERSION);
  61. ..\App\main.c(123): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  62. strcpy(gateway->gatewayMode, GATEWAYMODE);
  63. ..\App\main.c(124): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  64. strcpy(gateway->gateName,GATEWAYNAME);
  65. ..\App\main.c(244): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *"
  66. if (EC800MGetUrl(httpURL,dmabuffer,BufferSize) == true) // 从http获取信息,获取成功则保存到本地
  67. ..\App\main.c: 13 warnings, 0 errors
  68. compiling mmodbus.c...
  69. compiling system_gd32f10x.c...
  70. compiling systick.c...
  71. compiling otaEvent.c...
  72. ..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
  73. int8_t check_ota_event();
  74. ..\App\otaEvent.c(45): warning: #940-D: missing return statement at end of non-void function "check_ota_event"
  75. }
  76. ..\App\otaEvent.c(78): warning: #223-D: function "memcpy" declared implicitly
  77. memcpy(w25q32_data+128,ota_data.data + 3,128);
  78. ..\App\otaEvent.c(80): warning: #223-D: function "memset" declared implicitly
  79. memset(w25q32_data,0,256);
  80. ..\App\otaEvent.c(84): warning: #223-D: function "memcpy" declared implicitly
  81. memcpy(w25q32_data,ota_data.data + 3,128);
  82. ..\App\otaEvent.c(88): warning: #223-D: function "memset" declared implicitly
  83. memset(ota_data.data, 0, 133);
  84. ..\App\otaEvent.c(96): warning: #223-D: function "memset" declared implicitly
  85. memset(ota_data.data, 0, 133);
  86. ..\App\otaEvent.c(127): warning: #223-D: function "memset" declared implicitly
  87. memset(ota_data.data, 0, 133);
  88. ..\App\otaEvent.c: 8 warnings, 0 errors
  89. compiling mqttRecv.c...
  90. ..\App\mqttRecv.c(25): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  91. for (; i < strlen(UART0_RX_BUF); i++)
  92. ..\App\mqttRecv.c(71): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  93. strcpy(json, (char *)json_buf); // 将JSON数据拷贝到输出缓冲区中
  94. ..\App\mqttRecv.c: 2 warnings, 0 errors
  95. compiling gd32f10x_adc.c...
  96. compiling gd32f10x_bkp.c...
  97. compiling ec800m.c...
  98. ..\App\ec800m.c(53): warning: #188-D: enumerated type mixed with another type
  99. bool timeoutFlag = false;
  100. ..\App\ec800m.c(56): warning: #188-D: enumerated type mixed with another type
  101. timeoutFlag = true;
  102. ..\App\ec800m.c(70): warning: #188-D: enumerated type mixed with another type
  103. return true;
  104. ..\App\ec800m.c(77): warning: #188-D: enumerated type mixed with another type
  105. return false;
  106. ..\App\ec800m.c(263): warning: #223-D: function "sprintf" declared implicitly
  107. sprintf(command, CMD_SET_URL, strlen(url)); // CMD_SET_URL "%d\r\n"
  108. ..\App\ec800m.c(270): warning: #188-D: enumerated type mixed with another type
  109. return false;
  110. ..\App\ec800m.c(276): warning: #188-D: enumerated type mixed with another type
  111. return false;
  112. ..\App\ec800m.c(283): warning: #188-D: enumerated type mixed with another type
  113. return false;
  114. ..\App\ec800m.c(292): warning: #188-D: enumerated type mixed with another type
  115. return true;
  116. ..\App\ec800m.c(304): warning: #188-D: enumerated type mixed with another type
  117. bool success = false;
  118. ..\App\ec800m.c(314): warning: #223-D: function "sprintf" declared implicitly
  119. sprintf(cmd, "AT+QMTCFG=\"qmtping\",0,%d\r\n", keepalive);
  120. ..\App\ec800m.c(502): warning: #223-D: function "sprintf" declared implicitly
  121. sprintf((char *)payload_out,"{\"deviceId\":\"%s\",\"data\":[",gateway->deviceId);//缁勬垚json澶撮儴
  122. ..\App\ec800m.c(609): warning: #223-D: function "sprintf" declared implicitly
  123. sprintf(AT_SUB, "AT+QMTSUB=0,1,\"%s\",0\r\n", commandTopic);
  124. ..\App\ec800m.c(610): warning: #188-D: enumerated type mixed with another type
  125. bool success = false;
  126. ..\App\ec800m.c: 14 warnings, 0 errors
  127. compiling PC.c...
  128. ..\App\otaEvent.h(26): warning: #1295-D: Deprecated declaration check_ota_event - give arg types
  129. int8_t check_ota_event();
  130. ..\App\PC.c(25): warning: #1295-D: Deprecated declaration read_json_config - give arg types
  131. void read_json_config();
  132. ..\App\PC.c(170): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  133. uint8_t deviceIdLen=strlen(gateway->deviceId);
  134. ..\App\PC.c(171): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  135. uint8_t versionLen=strlen(gateway->version);
  136. ..\App\PC.c(176): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  137. uint16_t CRC16=mmodbus_crc16(gatewayMessageData+1,strlen(gatewayMessageData)-1);
  138. ..\App\PC.c(183): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  139. gd_com_232_send(gatewayMessageData,strlen(gatewayMessageData));
  140. ..\App\PC.c(211): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *restrict"
  141. sscanf(UART0_RX_BUF, "AT+COPS?\r\r\n+COPS: 0,0,\"%[^\"]\",%s", Operators, &Networktyp);
  142. ..\App\PC.c(215): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  143. strcpy(Operators,""); //鏈��鍙栧埌sim鍗′俊鎭?
  144. ..\App\PC.c(223): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  145. char* status_str=strstr(UART0_RX_BUF, "+CREG:");
  146. ..\App\PC.c(226): warning: #181-D: argument is incompatible with corresponding format string conversion
  147. sscanf(status_str, "+CREG: %*d,%d", &Networkstatu); //鍘熷厛0鏈�敞鍐? 1娉ㄥ唽锛屽彇鍙嶅悗1鏈�敞鍐?0娉ㄥ唽
  148. ..\App\PC.c(231): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  149. char* ICCID_str=strstr(UART0_RX_BUF,"+QCCID:");
  150. ..\App\PC.c(239): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *restrict"
  151. sscanf(UART0_RX_BUF,"AT+CSQ\r\r\n+CSQ: %d",&rssi);
  152. ..\App\PC.c(239): warning: #181-D: argument is incompatible with corresponding format string conversion
  153. sscanf(UART0_RX_BUF,"AT+CSQ\r\r\n+CSQ: %d",&rssi);
  154. ..\App\PC.c(253): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *restrict"
  155. sscanf(UART0_RX_BUF,"AT+GSN\r\r\n%s",IMMIE);
  156. ..\App\PC.c(259): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  157. sprintf(gatewayConfigData+2,
  158. ..\App\PC.c(264): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  159. uint16_t CRC16=mmodbus_crc16(gatewayConfigData+1,strlen(gatewayConfigData)-1);
  160. ..\App\PC.c(266): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  161. gatewayConfigData[strlen(gatewayConfigData)+1] = (uint8_t) (CRC16 & 0x00FF);
  162. ..\App\PC.c(267): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  163. gatewayConfigData[strlen(gatewayConfigData)] = (uint8_t) ((CRC16 & 0xFF00)>>8);
  164. ..\App\PC.c(268): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  165. gatewayConfigData[strlen(gatewayConfigData)]=END;
  166. ..\App\PC.c(269): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  167. gd_com_232_send(gatewayConfigData,strlen(gatewayConfigData));
  168. ..\App\PC.c(289): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  169. sprintf(json_config+2,"{\"host\":\"%s\",\"port\":%d,\"messageTopic\":\"%s\",\"commandTopic\":\"%s\",\"baudrate\":%d,\"dataBit\":%d,\"stopBit\":%d,\"checkBit\":%d,\"flowControl\":%d,\"deviceId\":\"%s\",\"dataSource\":%d,\"version645\":%d,\"inboundTime\":%d,\"pollTime\":%d,",
  170. ..\App\PC.c(306): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  171. sprintf(json_config+strlen(json_config),"\"sensorData\":[");
  172. ..\App\PC.c(306): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  173. sprintf(json_config+strlen(json_config),"\"sensorData\":[");
  174. ..\App\PC.c(312): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  175. sprintf(json_config+strlen(json_config),"{\"rFunctionCode\":%d,\"registerAddress\":%d,\"slaveAddress\":%d,\"registerByteNum\":%d,\"identifier\":\"%s\",\"deviceId\":\"%s\",\"precise\":%d,\"bigLittleFormat\":%d},",
  176. ..\App\PC.c(312): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  177. sprintf(json_config+strlen(json_config),"{\"rFunctionCode\":%d,\"registerAddress\":%d,\"slaveAddress\":%d,\"registerByteNum\":%d,\"identifier\":\"%s\",\"deviceId\":\"%s\",\"precise\":%d,\"bigLittleFormat\":%d},",
  178. ..\App\PC.c(324): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  179. sprintf(json_config+strlen(json_config),
  180. ..\App\PC.c(324): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  181. sprintf(json_config+strlen(json_config),
  182. ..\App\PC.c(338): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  183. memset(json_config+strlen(json_config)-1,0,1);
  184. ..\App\PC.c(340): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  185. sprintf(json_config+strlen(json_config),"],\"commandData\":[");
  186. ..\App\PC.c(340): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  187. sprintf(json_config+strlen(json_config),"],\"commandData\":[");
  188. ..\App\PC.c(344): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  189. sprintf(json_config+strlen(json_config),"{\"deviceId\":\"%s\",\"identifier\":\"%s\",\"registerAddress\":%d,\"slaveAddress\":%d,\"wFunctionCode\":%d,\"registerByteNum\":%d,\"bigLittleFormat\":%d},",
  190. ..\App\PC.c(344): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  191. sprintf(json_config+strlen(json_config),"{\"deviceId\":\"%s\",\"identifier\":\"%s\",\"registerAddress\":%d,\"slaveAddress\":%d,\"wFunctionCode\":%d,\"registerByteNum\":%d,\"bigLittleFormat\":%d},",
  192. ..\App\PC.c(354): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  193. memset(json_config+strlen(json_config)-1,0,1);
  194. ..\App\PC.c(356): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  195. sprintf(json_config+strlen(json_config),"]}");
  196. ..\App\PC.c(356): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  197. sprintf(json_config+strlen(json_config),"]}");
  198. ..\App\PC.c(358): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  199. uint16_t CRC16=mmodbus_crc16(json_config+1,strlen(json_config)-1);
  200. ..\App\PC.c(359): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  201. json_config[strlen(json_config)+1] = (uint8_t) (CRC16 & 0x00FF);
  202. ..\App\PC.c(360): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  203. json_config[strlen(json_config)] = (uint8_t) ((CRC16 & 0xFF00)>>8);
  204. ..\App\PC.c(362): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  205. json_config[strlen(json_config)]=END;
  206. ..\App\PC.c(363): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  207. gd_com_232_send(json_config,strlen(json_config));
  208. ..\App\PC.c(382): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
  209. uint16_t CRC16=mmodbus_crc16(resp+1,strlen(resp)-1);
  210. ..\App\PC.c(382): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const uint8_t *"
  211. uint16_t CRC16=mmodbus_crc16(resp+1,strlen(resp)-1);
  212. ..\App\PC.c(383): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
  213. resp[strlen(resp)+1] = (uint8_t) (CRC16 & 0x00FF);
  214. ..\App\PC.c(384): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
  215. resp[strlen(resp)] = (uint8_t) ((CRC16 & 0xFF00)>>8);
  216. ..\App\PC.c(385): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
  217. resp[strlen(resp)]=END;
  218. ..\App\PC.c(386): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "const char *"
  219. gd_com_232_send(resp,strlen(resp));
  220. ..\App\PC.c(386): warning: #167-D: argument of type "int8_t *" is incompatible with parameter of type "uint8_t *"
  221. gd_com_232_send(resp,strlen(resp));
  222. ..\App\PC.c(425): warning: #223-D: function "delay_1ms" declared implicitly
  223. delay_1ms(50);
  224. ..\App\PC.c: 48 warnings, 0 errors
  225. compiling parseDeviceMessage.c...
  226. ..\App\parseDeviceMessage.c(74): warning: #167-D: argument of type "char *" is incompatible with parameter of type "const uint8_t *"
  227. processHttp(dmaBuffer);
  228. ..\App\parseDeviceMessage.c(77): warning: #940-D: missing return statement at end of non-void function "WaitForUpData"
  229. }
  230. ..\App\parseDeviceMessage.c(122): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  231. strcpy(gateway.host, processStringData(json, "host"));
  232. ..\App\parseDeviceMessage.c(125): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  233. strcpy(gateway.messageTopic, processStringData(json, "messageTopic"));
  234. ..\App\parseDeviceMessage.c(126): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  235. strcpy(gateway.commandTopic, processStringData(json, "commandTopic"));
  236. ..\App\parseDeviceMessage.c(147): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  237. strcpy(gateway.device_read_data[i].deviceId, processStringData(read_data_obj, "deviceId"));
  238. ..\App\parseDeviceMessage.c(148): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  239. strcpy(gateway.device_read_data[i].keyword, processStringData(read_data_obj, "identifier"));
  240. ..\App\parseDeviceMessage.c(159): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  241. strcpy(gateway.device_read_data[i].deviceId, processStringData(read_data_obj, "deviceId"));
  242. ..\App\parseDeviceMessage.c(160): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  243. strcpy(gateway.device_read_data[i].keyword, processStringData(read_data_obj, "identifier"));
  244. ..\App\parseDeviceMessage.c(183): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  245. strcpy(gateway.device_write_data[i].deviceId, processStringData(write_data_obj, "deviceId"));
  246. ..\App\parseDeviceMessage.c(184): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  247. strcpy(gateway.device_write_data[i].keyword, processStringData(write_data_obj, "identifier"));
  248. ..\App\parseDeviceMessage.c(212): warning: #1295-D: Deprecated declaration parseCommandData - give arg types
  249. void parseCommandData();
  250. ..\App\parseDeviceMessage.c(363): warning: #188-D: enumerated type mixed with another type
  251. mmodbus_set16bitOrder(gateway->device_read_data[i].bigLittleFormat);
  252. ..\App\parseDeviceMessage.c(417): warning: #188-D: enumerated type mixed with another type
  253. mmodbus_set16bitOrder(gateway->device_read_data[i].bigLittleFormat);
  254. ..\App\parseDeviceMessage.c(424): warning: #177-D: variable "value" was declared but never referenced
  255. uint32_t value = (uint32_t)data[0] << 8 | data[1];
  256. ..\App\parseDeviceMessage.c(454): warning: #167-D: argument of type "char *" is incompatible with parameter of type "uint8_t *"
  257. while (MQTT_BUFFER_READ(json))
  258. ..\App\parseDeviceMessage.c(462): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  259. strcpy(action1, processStringData(mqtt_sub_json, "action"));
  260. ..\App\parseDeviceMessage.c(473): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  261. strcpy(identifier, processStringData(mqtt_sub_json, "identifier"));
  262. ..\App\parseDeviceMessage.c(475): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  263. strcpy(deviceId, processStringData(mqtt_sub_json, "deviceId"));
  264. ..\App\parseDeviceMessage.c(478): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "char *restrict"
  265. strcpy(messageId, processStringData(mqtt_sub_json, "messageId"));
  266. ..\App\parseDeviceMessage.c(486): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  267. if (strcmp(gateway->device_write_data[i].deviceId, deviceId) == 0)
  268. ..\App\parseDeviceMessage.c(486): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  269. if (strcmp(gateway->device_write_data[i].deviceId, deviceId) == 0)
  270. ..\App\parseDeviceMessage.c(488): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  271. if (strcmp(gateway->device_write_data[i].keyword, identifier) == 0) // 瀵绘壘鍒板�搴斿瓨鍌ㄧ殑鍦板潃
  272. ..\App\parseDeviceMessage.c(488): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  273. if (strcmp(gateway->device_write_data[i].keyword, identifier) == 0) // 瀵绘壘鍒板�搴斿瓨鍌ㄧ殑鍦板潃
  274. ..\App\parseDeviceMessage.c(494): warning: #188-D: enumerated type mixed with another type
  275. mmodbus_set16bitOrder(gateway->device_write_data[i].bigLittleFormat);
  276. ..\App\parseDeviceMessage.c(516): warning: #188-D: enumerated type mixed with another type
  277. mmodbus_set16bitOrder(gateway->device_write_data[i].bigLittleFormat);
  278. ..\App\parseDeviceMessage.c(556): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  279. if (strcmp(gateway->device_read_data[i].deviceId, deviceId) == 0)
  280. ..\App\parseDeviceMessage.c(556): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  281. if (strcmp(gateway->device_read_data[i].deviceId, deviceId) == 0)
  282. ..\App\parseDeviceMessage.c(558): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  283. if (strcmp(gateway->device_read_data[i].keyword, identifier) == 0) // 瀵绘壘鍒板�搴斿瓨鍌ㄧ殑鍦板潃
  284. ..\App\parseDeviceMessage.c(558): warning: #167-D: argument of type "uint8_t *" is incompatible with parameter of type "const char *"
  285. if (strcmp(gateway->device_read_data[i].keyword, identifier) == 0) // 瀵绘壘鍒板�搴斿瓨鍌ㄧ殑鍦板潃
  286. ..\App\parseDeviceMessage.c(565): warning: #188-D: enumerated type mixed with another type
  287. mmodbus_set16bitOrder(gateway->device_read_data[i].bigLittleFormat);
  288. ..\App\parseDeviceMessage.c(570): warning: #177-D: variable "value1" was declared but never referenced
  289. uint8_t value1;
  290. ..\App\parseDeviceMessage.c(600): warning: #188-D: enumerated type mixed with another type
  291. mmodbus_set16bitOrder(gateway->device_read_data[i].bigLittleFormat);
  292. ..\App\parseDeviceMessage.c: 33 warnings, 0 errors
  293. compiling gd32f10x_can.c...
  294. compiling gd32f10x_crc.c...
  295. compiling gd32f10x_dac.c...
  296. compiling gd32f10x_enet.c...
  297. compiling gd32f10x_dbg.c...
  298. compiling gd32f10x_dma.c...
  299. compiling gd32f10x_fwdgt.c...
  300. compiling gd32f10x_exmc.c...
  301. compiling gd32f10x_exti.c...
  302. compiling gd32f10x_gpio.c...
  303. compiling gd32f10x_fmc.c...
  304. compiling gd32f10x_i2c.c...
  305. compiling gd32f10x_misc.c...
  306. compiling gd32f10x_rtc.c...
  307. compiling gd32f10x_pmu.c...
  308. compiling gd32f10x_sdio.c...
  309. compiling gd32f10x_rcu.c...
  310. compiling spi.c...
  311. compiling gd32f10x_wwdgt.c...
  312. compiling usart.c...
  313. ..\bsp\usart.c(27): warning: #223-D: function "memset" declared implicitly
  314. memset(UART0_RX_BUF,0,UART0_RX_LEN);
  315. ..\bsp\usart.c(158): warning: #550-D: variable "value" was set but never used
  316. uint8_t value;
  317. ..\bsp\usart.c(13): warning: #177-D: variable "COM_IT_HANDLER" was declared but never referenced
  318. static uint32_t COM_IT_HANDLER[COMn] = {COM_EC800_IT_HANDLER, COM_485_IT_HANDLER, COM_232_IT_HANDLER};
  319. ..\bsp\usart.c: 3 warnings, 0 errors
  320. compiling dlt645.c...
  321. compiling key.c...
  322. compiling led.c...
  323. compiling gd32f10x_spi.c...
  324. compiling gd32f10x_usart.c...
  325. compiling ring_buffer.c...
  326. compiling w25q32.c...
  327. compiling gd32f10x_timer.c...
  328. compiling dlt645_2007.c...
  329. compiling dlt645_data.c...
  330. compiling dlt645_1997.c...
  331. compiling cJSON.c...
  332. compiling dlt645_port.c...
  333. ..\dlt\port\dlt645_port.c(84): warning: #223-D: function "memcpy" declared implicitly
  334. memcpy(msg, &(dlt645_port.rxBuf[4]), len-4);
  335. ..\dlt\port\dlt645_port.c(103): warning: #223-D: function "memset" declared implicitly
  336. memset(dlt645_port.rxBuf, 0, DLT_RXSIZE);
  337. ..\dlt\port\dlt645_port.c: 2 warnings, 0 errors
  338. linking...
  339. Program Size: Code=36448 RO-data=2652 RW-data=224 ZI-data=86992
  340. FromELF: creating hex file...
  341. After Build - User command #1: fromelf --bin --output ./Objects/Ringzle.bin ./Objects/Ringzle.axf
  342. ".\Objects\Ringzle.axf" - 0 Error(s), 127 Warning(s).
  343. <h2>Software Packages used:</h2>
  344. Package Vendor: GigaDevice
  345. https://gd32mcu.com/data/documents/pack/GigaDevice.GD32F10x_DFP.2.0.3.pack
  346. GigaDevice.GD32F10x_DFP.2.0.3
  347. GigaDevice GD32F10x Series Device Support and Examples
  348. <h2>Collection of Component include folders:</h2>
  349. .\RTE\_GD32F103C8T6
  350. D:\workSoftware\stm32Software\mdk\mdkpack\GigaDevice\GD32F10x_DFP\2.0.3\Device\Include
  351. <h2>Collection of Component Files used:</h2>
  352. Build Time Elapsed: 00:00:02
  353. </pre>
  354. </body>
  355. </html>