pfeerick

Luos-io Button - Windows 10 Build Log

Jun 4th, 2020
14
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Processing l0 (platform: ststm32; board: l0; framework: stm32cube)
  2. -------------------------------------------------------------------------------------------------------------------------------------------
  3.  
  4. Verbose mode can be enabled via `-v, --verbose` option
  5. CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/l0.html
  6. PLATFORM: ST STM32 6.1.0 > L0
  7. HARDWARE: STM32F072VBT6 48MHz, 16KB RAM, 128KB Flash
  8. DEBUG: Current (stlink) External (stlink)
  9. PACKAGES:
  10. - framework-stm32cube 2.0.181130
  11. - tool-dfuutil 1.9.200310
  12. - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
  13. LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
  14. LDF Modes: Finder ~ chain, Compatibility ~ soft
  15. Found 24 compatible libraries
  16. Scanning dependencies...
  17. Dependency Graph
  18. |-- <Luos> 0.6.7
  19. | |-- <Robus> 1.2.0
  20. |-- <Button> 0.6.0
  21. | |-- <Luos> 0.6.7
  22. | | |-- <Robus> 1.2.0
  23. Building in release mode
  24. Compiling .pio\build\l0\src\adc.o
  25. Compiling .pio\build\l0\src\crc.o
  26. Compiling .pio\build\l0\src\dma.o
  27. Compiling .pio\build\l0\src\gpio.o
  28. Compiling .pio\build\l0\src\main.o
  29. Compiling .pio\build\l0\src\stm32f0xx_hal_msp.o
  30. Compiling .pio\build\l0\src\stm32f0xx_it.o
  31. Compiling .pio\build\l0\src\sys.o
  32. Compiling .pio\build\l0\src\syscalls.o
  33. Compiling .pio\build\l0\src\system_stm32f0xx.o
  34. Compiling .pio\build\l0\src\usart.o
  35. Compiling .pio\build\l0\libbdc\hal\l0\hal.o
  36. Compiling .pio\build\l0\libbdc\Robus_ID7111\detection.o
  37. Compiling .pio\build\l0\libbdc\Robus_ID7111\reception.o
  38. Compiling .pio\build\l0\libbdc\Robus_ID7111\robus.o
  39. Compiling .pio\build\l0\libbdc\Robus_ID7111\sys_msg.o
  40. .pio\libdeps\l0\Robus_ID7111\hal\l0\hal.c: In function 'crc':
  41. .pio\libdeps\l0\Robus_ID7111\hal\l0\hal.c:75:57: warning: passing argument 2 of 'HAL_CRC_Calculate' from incompatible pointer type [-Wincompatible-pointer-types]
  42. calc = (unsigned short)HAL_CRC_Calculate(&hcrc, data, size);
  43. ^~~~
  44. In file included from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal_conf.h:217:0,
  45. from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal.h:46,
  46. from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\CMSIS\Device\ST\STM32F0xx\Include/stm32f0xx.h:222,
  47. from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_ll_usart.h:45,
  48. from .pio\libdeps\l0\Robus_ID7111\hal\l0\hal.c:3:
  49. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal_crc.h:293:10: note: expected 'uint32_t * {aka long unsigned int *}' but argument is of type 'unsigned char *'
  50. uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength);
  51. ^~~~~~~~~~~~~~~~~
  52. .pio\libdeps\l0\Robus_ID7111\hal\l0\hal.c:79:58: warning: passing argument 2 of 'HAL_CRC_Accumulate' from incompatible pointer type [-Wincompatible-pointer-types]
  53. calc = (unsigned short)HAL_CRC_Accumulate(&hcrc, data, 1);
  54. ^~~~
  55. In file included from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal_conf.h:217:0,
  56. from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal.h:46,
  57. from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\CMSIS\Device\ST\STM32F0xx\Include/stm32f0xx.h:222,
  58. from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_ll_usart.h:45,
  59. from .pio\libdeps\l0\Robus_ID7111\hal\l0\hal.c:3:
  60. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal_crc.h:292:10: note: expected 'uint32_t * {aka long unsigned int *}' but argument is of type 'unsigned char *'
  61. Compiling .pio\build\l0\libbdc\Robus_ID7111\target.o
  62. uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength);
  63. ^~~~~~~~~~~~~~~~~~
  64. .pio\libdeps\l0\Robus_ID7111\src\reception.c: In function 'module_concerned':
  65. .pio\libdeps\l0\Robus_ID7111\src\reception.c:92:39: warning: passing argument 1 of 'multicast_target_bank' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  66. if (multicast_target_bank(&ctx.vm_table[i], header->target))
  67. ^
  68. In file included from .pio\libdeps\l0\Robus_ID7111\src\reception.c:13:0:
  69. .pio\libdeps\l0\Robus_ID7111\Inc/target.h:13:15: note: expected 'vm_t * {aka struct vm_t *}' but argument is of type 'volatile vm_t * {aka
  70. volatile struct vm_t *}'
  71. unsigned char multicast_target_bank(vm_t *vm, unsigned short val);
  72. ^~~~~~~~~~~~~~~~~~~~~
  73. .pio\libdeps\l0\Robus_ID7111\src\reception.c: In function 'get_header':
  74. .pio\libdeps\l0\Robus_ID7111\src\reception.c:174:33: warning: passing argument 1 of 'module_concerned' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  75. keep = module_concerned(&CURRENTMSG.header);
  76. ^
  77. .pio\libdeps\l0\Robus_ID7111\src\reception.c:29:15: note: expected 'header_t * {aka struct <anonymous> *}' but argument is of type 'volatile header_t * {aka volatile struct <anonymous> *}'
  78. unsigned char module_concerned(header_t *header)
  79. ^~~~~~~~~~~~~~~~
  80. .pio\libdeps\l0\Robus_ID7111\src\reception.c:21:20: warning: passing argument 1 of 'crc' discards 'volatile' qualifier from pointer target
  81. type [-Wdiscarded-qualifiers]
  82. #define CURRENTMSG ctx.msg[ctx.current_buffer]
  83. ^
  84. .pio\libdeps\l0\Robus_ID7111\src\reception.c:178:17: note: in expansion of macro 'CURRENTMSG'
  85. crc(CURRENTMSG.stream, sizeof(header_t), (unsigned char *)&crc_val);
  86. ^~~~~~~~~~
  87. In file included from .pio\libdeps\l0\Robus_ID7111\Inc/detection.h:12:0,
  88. from .pio\libdeps\l0\Robus_ID7111\Inc/context.h:14,
  89. from .pio\libdeps\l0\Robus_ID7111\Inc/reception.h:11,
  90. from .pio\libdeps\l0\Robus_ID7111\src\reception.c:10:
  91. .pio\libdeps\l0\Robus_ID7111\hal\l0/hal.h:16:6: note: expected 'unsigned char *' but argument is of type 'volatile unsigned char *'
  92. void crc(unsigned char *data, unsigned short size, unsigned char *crc);
  93. ^~~
  94. .pio\libdeps\l0\Robus_ID7111\src\reception.c: In function 'get_data':
  95. .pio\libdeps\l0\Robus_ID7111\src\reception.c:195:13: warning: passing argument 1 of 'crc' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  96. crc(&CURRENTMSG.data[data_count], 1, (unsigned char *)&crc_val);
  97. ^
  98. In file included from .pio\libdeps\l0\Robus_ID7111\Inc/detection.h:12:0,
  99. from .pio\libdeps\l0\Robus_ID7111\Inc/context.h:14,
  100. from .pio\libdeps\l0\Robus_ID7111\Inc/reception.h:11,
  101. from .pio\libdeps\l0\Robus_ID7111\src\reception.c:10:
  102. .pio\libdeps\l0\Robus_ID7111\hal\l0/hal.h:16:6: note: expected 'unsigned char *' but argument is of type 'volatile unsigned char *'
  103. void crc(unsigned char *data, unsigned short size, unsigned char *crc);
  104. ^~~
  105. .pio\libdeps\l0\Robus_ID7111\src\reception.c:212:34: warning: passing argument 1 of 'msg_complete' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  106. msg_complete(&CURRENTMSG);
  107. ^
  108. In file included from .pio\libdeps\l0\Robus_ID7111\src\reception.c:10:0:
  109. .pio\libdeps\l0\Robus_ID7111\Inc/reception.h:23:6: note: expected 'msg_t * {aka struct <anonymous> *}' but argument is of type 'volatile msg_t * {aka volatile struct <anonymous> *}'
  110. void msg_complete(msg_t *msg);
  111. ^~~~~~~Compiling .pio\build\l0\libd86\hal\l0\eeprom.o
  112. ~~~~~
  113. .pio\libdeps\l0\Robus_ID7111\src\reception.c:221:42: warning: passing argument 1 of 'msg_complete' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  114. msg_complete(&CURRENTMSG);
  115. ^
  116. In file included from .pio\libdeps\l0\Robus_ID7111\src\reception.c:10:0:
  117. .pio\libdeps\l0\Robus_ID7111\Inc/reception.h:23:6: note: expected 'msg_t * {aka struct <anonymous> *}' but argument is of type 'volatile msg_t * {aka volatile struct <anonymous> *}'
  118. void msg_complete(msg_t *msg);
  119. ^~~~~~~~~~~~
  120. .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c: In function 'send_ack':
  121. .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:28:18: warning: passing argument 1 of 'hal_transmit' discards 'volatile' qualifier from pointer
  122. target type [-Wdiscarded-qualifiers]
  123. hal_transmit(&ctx.status.unmap, 1);
  124. ^
  125. In file included from .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:10:0:
  126. .pio\libdeps\l0\Robus_ID7111\hal\l0/hal.h:19:15: note: expected 'unsigned char *' but argument is of type 'volatile unsigned char *'
  127. unsigned char hal_transmit(unsigned char *data, unsigned short size);
  128. ^~~~~~~~~~~~
  129. .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c: In function 'robus_send_sys':
  130. .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:50:33: warning: passing argument 3 of 'crc' from incompatible pointer type [-Wincompatible-pointer-types]
  131. crc(msg->stream, full_size, (volatile unsigned short *)&msg->data[data_size]);
  132. ^
  133. In file included from .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:10:0:
  134. Compiling .pio\build\l0\libd86\hal\l0\luos_board.o
  135. .pio\libdeps\l0\Robus_ID7111\hal\l0/hal.h:16:6: note: expected 'unsigned char *' but argument is of type 'volatile short unsigned int *'
  136. Compiling .pio\build\l0\libd86\Luos_ID7112\luos.o
  137. void crc(unsigned char *data, unsigned short size, unsigned char *crc);
  138. ^~~
  139. .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:60:21: warning: passing argument 1 of 'transmit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  140. while (transmit((volatile unsigned char *)msg->stream, full_size))
  141. ^
  142. .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:16:15: note: expected 'unsigned char *' but argument is of type 'volatile unsigned char *'
  143. unsigned char transmit(unsigned char *data, unsigned short size);
  144. ^~~~~~~~
  145. .pio\libdeps\l0\Robus_ID7111\src\reception.c: In function 'msg_complete':
  146. .pio\libdeps\l0\Robus_ID7111\src\reception.c:361:20: warning: passing argument 1 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  147. memcpy(&ctx.baudrate, msg->data, msg->header.size);
  148. ^
  149. In file included from c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:10:0,
  150. from .pio\libdeps\l0\Robus_ID7111\src\reception.c:9:
  151. c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:31:8: note: expected 'void * restrict' but argument is of type 'volatile unsigned int *'
  152. _PTR _EXFUN(memcpy,(_PTR __restrict, const _PTR __restrict, size_t));
  153. ^
  154. .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:127:16: warning: passing argument 1 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  155. memcpy(&ctx.msg[ctx.current_buffer], msg, sizeof(header_t) + msg->header.size + 2);
  156. Archiving .pio\build\l0\libbdc\libRobus_ID7111.a
  157. ^
  158. .pio\libdeps\l0\Robus_ID7111\src\reception.c:368:25: warning: passing argument 1 of 'ctx.luos_cb' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  159. ctx.luos_cb(&CURRENTMODULE, CURRENTMODULE.msg_pt);
  160. ^
  161. .pio\libdeps\l0\Robus_ID7111\src\reception.c:368:25: note: expected 'vm_t * {aka struct vm_t *}' but argument is of type 'volatile vm_t * {aka volatile struct vm_t *}'
  162. In file included from c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:10:0,
  163. from .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:11:
  164. c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:31:8: note: expected 'void * restrict' but argument is of type 'volatile msg_t * {aka volatile struct <anonymous> *}'
  165. _PTR _EXFUN(memcpy,(_PTR __restrict, const _PTR __restrict, size_t));
  166. ^
  167. .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:129:22: warning: passing argument 1 of 'msg_complete' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  168. msg_complete(&ctx.msg[ctx.current_buffer]);
  169. ^
  170. .pio\libdeps\l0\Robus_ID7111\src\reception.c:378:21: warning: passing argument 1 of 'ctx.luos_cb' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  171. ctx.luos_cb(&CURRENTMODULE, CURRENTMODULE.msg_pt);
  172. ^
  173. In file included from .pio\libdeps\l0\Robus_ID7111\src\sys_msg.c:13:0:
  174. .pio\libdeps\l0\Robus_ID7111\Inc/reception.h:23:6: note: expected 'msg_t * {aka struct <anonymous> *}' but argument is of type 'volatile msg_t * {aka volatile struct <anonymous> *}'
  175. void msg_complete(msg_t *msg);
  176. ^~~~~~~~~~~~
  177. .pio\libdeps\l0\Robus_ID7111\src\reception.c:378:21: note: expected 'vm_t * {aka struct vm_t *}' but argument is of type 'volatile vm_t * {aka volatile struct vm_t *}'
  178. .pio\libdeps\l0\Robus_ID7111\src\robus.c: In function 'robus_modules_clear':
  179. .pio\libdeps\l0\Robus_ID7111\src\robus.c:71:12: warning: passing argument 1 of 'memset' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  180. memset(ctx.vm_table, 0, sizeof(vm_t) * MAX_VM_NUMBER);
  181. ^~~
  182. In file included from c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:10:0,
  183. from .pio\libdeps\l0\Robus_ID7111\src\robus.c:9:
  184. c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:33:7: note: expected 'void *' but argument is of type 'volatile vm_t * {aka volatile struct vm_t *}'
  185. _PTR _EXFUN(memset,(_PTR, int, size_t));
  186. ^
  187. .pio\libdeps\l0\Robus_ID7111\src\robus.c: In function 'robus_module_create':
  188. .pio\libdeps\l0\Robus_ID7111\src\robus.c:92:12: warning: return discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  189. return &ctx.vm_table[ctx.vm_number++];
  190. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  191. .pio\libdeps\l0\Luos_ID7112\hal\l0\luos_board.c: In function 'node_init':
  192. Indexing .pio\build\l0\libbdc\libRobus_ID7111.a
  193. .pio\libdeps\l0\Luos_ID7112\hal\l0\luos_board.c:139:34: warning: passing argument 2 of 'HAL_ADC_Start_DMA' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  194. HAL_ADC_Start_DMA(&luos_adc, node_analog.unmap, sizeof(node_analog_t) / sizeof(uint32_t));
  195. ^~~~~~~~~~~
  196. In file included from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal_conf.h:201:0,
  197. from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal.h:46,
  198. from inc/main.h:31,
  199. from inc/adc.h:27,
  200. from .pio\libdeps\l0\Luos_ID7112\hal\l0/luos_board.h:5,
  201. from .pio\libdeps\l0\Luos_ID7112\hal\l0\luos_board.c:1:
  202. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_hal_adc.h:922:25: note: expected 'uint32_t * {aka long unsigned int *}' but argument is of type 'volatile uint32_t * {aka volatile long unsigned int *}'
  203. HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t Length);
  204. ^~~~~~~~~~~~~~~~~
  205. Compiling .pio\build\l0\libd86\Luos_ID7112\message_mngr.o
  206. Compiling .pio\build\l0\libd86\Luos_ID7112\routingTable.o
  207. .pio\libdeps\l0\Luos_ID7112\src\routingTable.c: In function 'add_num_to_alias':
  208. .pio\libdeps\l0\Luos_ID7112\src\routingTable.c:250:5: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
  209. sprintf(alias, "%s%d", alias, num);
  210. ^~~~~~~
  211. .pio\libdeps\l0\Luos_ID7112\src\routingTable.c:250:5: warning: incompatible implicit declaration of built-in function 'sprintf'
  212. .pio\libdeps\l0\Luos_ID7112\src\routingTable.c:250:5: note: include '<stdio.h>' or provide a declaration of 'sprintf'
  213. .pio\libdeps\l0\Luos_ID7112\src\routingTable.c: In function 'wait_route_table':
  214. .pio\libdeps\l0\Luos_ID7112\src\routingTable.c:258:26: warning: implicit declaration of function 'HAL_GetTick' [-Wimplicit-function-declaration]
  215. uint32_t timestamp = HAL_GetTick(); // TODO : create a function for it into board
  216. ^~~~~~~~~~~
  217. .pio\libdeps\l0\Luos_ID7112\src\luos.c: In function 'luos_msg_handler':
  218. .pio\libdeps\l0\Luos_ID7112\src\luos.c:32:46: warning: passing argument 3 of 'luos_receive_data' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  219. if (luos_receive_data(module, input, route_tab))
  220. ^~~~~~~~~
  221. In file included from .pio\libdeps\l0\Luos_ID7112\src\luos.c:1:0:
  222. .pio\libdeps\l0\Luos_ID7112\Inc/luos.h:100:15: note: expected 'void *' but argument is of type 'volatile route_table_t * {aka volatile struct <anonymous> *}'
  223. unsigned char luos_receive_data(module_t *module, msg_t *msg, void *bin_data);
  224. ^~~~~~~~~~~~~~~~~
  225. .pio\libdeps\l0\Luos_ID7112\src\luos.c:43:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  226. sprintf(output->data, "%s", module->firm_version);
  227. ^~~~~~
  228. In file included from c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:10:0,
  229. from .pio\libdeps\l0\Luos_ID7112\OD/od_linear.h:12,
  230. from .pio\libdeps\l0\Luos_ID7112\OD/luos_od.h:11,
  231. from .pio\libdeps\l0\Luos_ID7112\Inc/module_structs.h:6,
  232. from .pio\libdeps\l0\Luos_ID7112\Inc/luos.h:5,
  233. from .pio\libdeps\l0\Luos_ID7112\src\luos.c:1:
  234. c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\stdio.h:244:5: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  235. int _EXFUN(sprintf, (char *__restrict, const char *__restrict, ...)
  236. ^
  237. .pio\libdeps\l0\Luos_ID7112\src\luos.c:55:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  238. sprintf(output->data, "%s", luos_version);
  239. ^~~~~~
  240. Compiling .pio\build\l0\libd86\Luos_ID7112\streaming.o
  241. In file included from c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:10:0,
  242. from .pio\libdeps\l0\Luos_ID7112\OD/od_linear.h:12,
  243. from .pio\libdeps\l0\Luos_ID7112\OD/luos_od.h:11,
  244. from .pio\libdeps\l0\Luos_ID7112\Inc/module_structs.h:6,
  245. from .pio\libdeps\l0\Luos_ID7112\Inc/luos.h:5,
  246. from .pio\libdeps\l0\Luos_ID7112\src\luos.c:1:
  247. c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\stdio.h:244:5: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  248. int _EXFUN(sprintf, (char *__restrict, const char *__restrict, ...)
  249. ^
  250. .pio\libdeps\l0\Luos_ID7112\src\luos.c:66:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  251. sprintf(output->data, "%s", ROBUS_VERSION);
  252. ^~~~~~
  253. In file included from c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\string.h:10:0,
  254. Compiling .pio\build\l0\lib6ac\Button\button.o
  255. from .pio\libdeps\l0\Luos_ID7112\OD/od_linear.h:12,
  256. from .pio\libdeps\l0\Luos_ID7112\OD/luos_od.h:11,
  257. from .pio\libdeps\l0\Luos_ID7112\Inc/module_structs.h:6,
  258. from .pio\libdeps\l0\Luos_ID7112\Inc/luos.h:5,
  259. from .pio\libdeps\l0\Luos_ID7112\src\luos.c:1:
  260. c:\users\peter\.platformio\packages\toolchain-gccarmnoneeabi@1.70201.0\arm-none-eabi\include\stdio.h:244:5: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  261. int _EXFUN(sprintf, (char *__restrict, const char *__restrict, ...)
  262. ^
  263. .pio\libdeps\l0\Luos_ID7112\src\luos.c: In function 'luos_cb':
  264. .pio\libdeps\l0\Luos_ID7112\src\luos.c:154:26: warning: passing argument 1 of 'luos_msg_handler' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  265. if (luos_msg_handler(module, msg, (msg_t *)&luos_pub_msg))
  266. ^~~~~~
  267. .pio\libdeps\l0\Luos_ID7112\src\luos.c:17:12: note: expected 'module_t * {aka struct module_t *}' but argument is of type 'volatile module_t * {aka volatile struct module_t *}'
  268. static int luos_msg_handler(module_t *module, msg_t *input, msg_t *output)
  269. ^~~~~~~~~~~~~~~~
  270. .pio\libdeps\l0\Luos_ID7112\src\luos.c:156:29: warning: assignment discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  271. luos_module_pointer = module;
  272. ^
  273. .pio\libdeps\l0\Luos_ID7112\src\luos.c:160:37: warning: passing argument 1 of 'node_msg_handler' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  274. int pub_type = node_msg_handler(module, msg, (msg_t *)&luos_pub_msg);
  275. ^~~~~~
  276. In file included from .pio\libdeps\l0\Luos_ID7112\src\luos.c:2:0:
  277. .pio\libdeps\l0\Luos_ID7112\hal\l0/luos_board.h:29:5: note: expected 'module_t * {aka struct module_t *}' but argument is of type 'volatile module_t * {aka volatile struct module_t *}'
  278. int node_msg_handler(module_t *module, msg_t *input, msg_t *output);
  279. ^~~~~~~~~~~~~~~~
  280. .pio\libdeps\l0\Luos_ID7112\src\luos.c:167:29: warning: assignment discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  281. luos_module_pointer = module;
  282. ^
  283. .pio\libdeps\l0\Luos_ID7112\src\luos.c:173:24: warning: passing argument 1 of 'module->mod_cb' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  284. module->mod_cb(module, msg);
  285. ^~~~~~
  286. .pio\libdeps\l0\Luos_ID7112\src\luos.c:173:24: note: expected 'struct module_t *' but argument is of type 'volatile module_t * {aka volatile struct module_t *}'
  287. .pio\libdeps\l0\Luos_ID7112\src\luos.c:178:18: warning: passing argument 1 of 'mngr_set' discards 'volatile' qualifier from pointer target
  288. type [-Wdiscarded-qualifiers]
  289. mngr_set(module, msg);
  290. ^~~~~~
  291. In file included from .pio\libdeps\l0\Luos_ID7112\src\luos.c:4:0:
  292. .pio\libdeps\l0\Luos_ID7112\Inc/message_mngr.h:26:6: note: expected 'module_t * {aka struct module_t *}' but argument is of type 'volatile
  293. module_t * {aka volatile struct module_t *}'
  294. void mngr_set(module_t *module, msg_t *msg);
  295. ^~~~~~~~
  296. .pio\libdeps\l0\Luos_ID7112\src\luos.c: In function 'transmit_local_route_table':
  297. .pio\libdeps\l0\Luos_ID7112\src\luos.c:196:34: warning: passing argument 1 of 'convert_board_to_route_table' discards 'volatile' qualifier
  298. from pointer target type [-Wdiscarded-qualifiers]
  299. convert_board_to_route_table(&local_route_table[entry_nb++], uuid, detection_branches, table_size);
  300. ^
  301. In file included from .pio\libdeps\l0\Luos_ID7112\Inc/luos.h:6:0,
  302. from .pio\libdeps\l0\Luos_ID7112\src\luos.c:1:
  303. .pio\libdeps\l0\Luos_ID7112\Inc/routingTable.h:56:6: note: expected 'route_table_t * {aka struct <anonymous> *}' but argument is of type 'volatile route_table_t * {aka volatile struct <anonymous> *}'
  304. void convert_board_to_route_table(route_table_t *entry, luos_uuid_t uuid, unsigned short *port_table, int branch_nb);
  305. ^~~~~Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal.o
  306. ~~~~~~~~~~~~~~~~~~~~~~~
  307. .pio\libdeps\l0\Luos_ID7112\src\luos.c:200:39: warning: passing argument 1 of 'convert_module_to_route_table' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  308. convert_module_to_route_table(&local_route_table[entry_nb++], &module_table[i]);
  309. ^
  310. In file included from .pio\libdeps\l0\Luos_ID7112\Inc/luos.h:6:0,
  311. from .pio\libdeps\l0\Luos_ID7112\src\luos.c:1:
  312. .pio\libdeps\l0\Luos_ID7112\Inc/routingTable.h:57:6: note: expected 'route_table_t * {aka struct <anonymous> *}' but argument is of type 'volatile route_table_t * {aka volatile struct <anonymous> *}'
  313. void convert_module_to_route_table(route_table_t *entry, module_t *module);
  314. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  315. .pio\libdeps\l0\Luos_ID7112\src\luos.c:202:65: warning: passing argument 3 of 'luos_send_data' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  316. luos_send_data(luos_module_pointer, (msg_t *)&luos_pub_msg, local_route_table, (entry_nb * sizeof(route_table_t)));
  317. Archiving .pio\build\l0\lib6ac\libButton.a
  318. ^~~~~~~~~~~~~~~~~
  319. .pio\libdeps\l0\Luos_ID7112\src\message_mngr.c: In function 'mngr_get_msg':
  320. .pio\libdeps\l0\Luos_ID7112\src\message_mngr.c:50:19: warning: assignment discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers]
  321. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_adc.o
  322. chunk->module = module_msg_mngr[module_index];
  323. ^
  324. In file included from .pio\libdeps\l0\Luos_ID7112\src\luos.c:1:0:
  325. .pio\libdeps\l0\Luos_ID7112\Inc/luos.h:75:15: note: expected 'void *' but argument is of type 'volatile route_table_t * {aka volatile struct <anonymous> *}'
  326. unsigned char luos_send_data(module_t *module, msg_t *msg, void *bin_data, unsigned short size);
  327. ^~~~~~~~~~~~~~
  328. .pio\libdeps\l0\Luos_ID7112\src\luos.c: In function 'luos_send_data':
  329. .pio\libdeps\l0\Luos_ID7112\src\luos.c:371:36: warning: dereferencing 'void *' pointer
  330. memcpy(msg->data, &bin_data[sent_size], chunk_size);
  331. Archiving .pio\build\l0\libd86\libLuos_ID7112.a
  332. ^
  333. .pio\libdeps\l0\Luos_ID7112\src\luos.c: In function 'luos_receive_data':
  334. .pio\libdeps\l0\Luos_ID7112\src\luos.c:462:21: warning: dereferencing 'void *' pointer
  335. memcpy(&bin_data[data_size[id]], msg->data, chunk_size);
  336. ^
  337. .pio\libdeps\l0\Luos_ID7112\src\streaming.c: In function 'create_streaming_channel':
  338. .pio\libdeps\l0\Luos_ID7112\src\streaming.c:13:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  339. stream.ring_buffer = ring_buffer;
  340. ^
  341. .pio\libdeps\l0\Luos_ID7112\src\streaming.c:15:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  342. stream.end_ring_buffer = ring_buffer + (stream.data_size * ring_buffer_size);
  343. ^
  344. .pio\libdeps\l0\Luos_ID7112\src\streaming.c: In function 'get_samples':
  345. .pio\libdeps\l0\Luos_ID7112\src\streaming.c:46:25: warning: dereferencing 'void *' pointer
  346. memcpy(&data[chunk1], stream->ring_buffer, chunk2);
  347. ^
  348. .pio\libdeps\l0\Luos_ID7112\src\streaming.c: In function 'set_samples':
  349. .pio\libdeps\l0\Luos_ID7112\src\streaming.c:99:42: warning: dereferencing 'void *' pointer
  350. memcpy(stream->ring_buffer, &data[chunk1], chunk2);
  351. ^
  352. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_adc_ex.o
  353. Indexing .pio\build\l0\libd86\libLuos_ID7112.a
  354. Indexing .pio\build\l0\lib6ac\libButton.a
  355. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_can.o
  356. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_cec.o
  357. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_comp.o
  358. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_cortex.o
  359. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_crc.o
  360. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_crc_ex.o
  361. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_dac.o
  362. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_dac_ex.o
  363. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_crc.c: In function 'CRC_Handle_8':
  364. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_crc.c:475:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  365. *(uint16_t volatile*) (&hcrc->Instance->DR) = ((uint32_t)pBuffer[4*i]<<8) | (uint32_t)pBuffer[4*i+1];
  366. ^
  367. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_dma.o
  368. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_crc.c:479:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  369. *(uint16_t volatile*) (&hcrc->Instance->DR) = ((uint32_t)pBuffer[4*i]<<8) | (uint32_t)pBuffer[4*i+1];
  370. ^
  371. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_crc.c: In function 'CRC_Handle_16':
  372. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_crc.c:511:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  373. *(uint16_t volatile*) (&hcrc->Instance->DR) = pBuffer[2*i];
  374. ^
  375. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_flash.o
  376. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_flash_ex.o
  377. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_gpio.o
  378. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_i2c.o
  379. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_i2c_ex.o
  380. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_i2s.o
  381. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_irda.o
  382. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_iwdg.o
  383. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_pcd.o
  384. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_pcd_ex.o
  385. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_pwr.o
  386. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_pwr_ex.o
  387. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_rcc.o
  388. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_rcc_ex.o
  389. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_rtc.o
  390. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_rtc_ex.o
  391. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_smartcard.o
  392. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_smartcard_ex.o
  393. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_smbus.o
  394. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_spi.o
  395. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_spi_ex.o
  396. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_tim.o
  397. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_tim_ex.o
  398. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_tsc.o
  399. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_uart.o
  400. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_uart_ex.o
  401. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_usart.o
  402. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_hal_wwdg.o
  403. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_adc.o
  404. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_comp.o
  405. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_crc.o
  406. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_crs.o
  407. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_dac.o
  408. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_dma.o
  409. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_exti.o
  410. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_gpio.o
  411. In file included from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_crc.c:38:0:
  412. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_ll_crc.h: In function 'LL_CRC_FeedData16':
  413. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_ll_crc.h:371:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  414. *(uint16_t __IO *)(&CRCx->DR) = (uint16_t) InData;
  415. ^
  416. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_i2c.o
  417. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_pwr.o
  418. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_rcc.o
  419. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_rtc.o
  420. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_spi.o
  421. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_tim.o
  422. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_usart.o
  423. Compiling .pio\build\l0\FrameworkHALDriver\Src\stm32f0xx_ll_utils.o
  424. In file included from C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_spi.c:38:0:
  425. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_ll_spi.h: In function 'LL_SPI_TransmitData16':
  426. C:\users\peter\.platformio\packages\framework-stm32cube\f0\Drivers\STM32F0xx_HAL_Driver\Inc/stm32f0xx_ll_spi.h:1388:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  427. *((__IO uint16_t *)&SPIx->DR) = TxData;
  428. ^
  429. Compiling .pio\build\l0\FrameworkCMSISDevice\gcc\startup_stm32f072xb.o
  430. Compiling .pio\build\l0\FrameworkCMSISDevice\system_stm32f0xx.o
  431. Archiving .pio\build\l0\libFrameworkCMSISDevice.a
  432. Indexing .pio\build\l0\libFrameworkCMSISDevice.a
  433. Archiving .pio\build\l0\libFrameworkHALDriver.a
  434. Indexing .pio\build\l0\libFrameworkHALDriver.a
  435. Linking .pio\build\l0\firmware.elf
  436. Building .pio\build\l0\firmware.bin
  437. Checking size .pio\build\l0\firmware.elf
  438. Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
  439. RAM: [=== ] 30.5% (used 4996 bytes from 16384 bytes)
  440. Flash: [== ] 16.3% (used 21400 bytes from 131072 bytes)
  441. Adding dfu suffix to firmware.bin
  442. dfu-suffix (dfu-util) 0.9
  443.  
  444. Copyright 2011-2012 Stefan Schmidt, 2013-2014 Tormod Volden
  445. This program is Free Software and has ABSOLUTELY NO WARRANTY
  446. Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
  447.  
  448. Suffix successfully added to file
  449. ====================================================== [SUCCESS] Took 37.43 seconds ======================================================
RAW Paste Data