Advertisement
Guest User

Error Log

a guest
Oct 13th, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.11 KB | None | 0 0
  1. Processing nucleo_f446re (platform: ststm32; board: nucleo_f446re; framework: mbed)
  2. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  3. Verbose mode can be enabled via `-v, --verbose` option
  4. PLATFORM: ST STM32 > ST Nucleo F446RE
  5. SYSTEM: STM32F446RET6 180MHz 128KB RAM (512KB Flash)
  6. DEBUG: CURRENT(stlink) ON-BOARD(stlink) EXTERNAL(blackmagic, jlink)
  7. Library Dependency Finder -> http://bit.ly/configure-pio-ldf
  8. LDF MODES: FINDER(chain) COMPATIBILITY(soft)
  9. Collected 26 compatible libraries
  10. Scanning dependencies...
  11. Dependency Graph
  12. |-- <mbed-rtos>
  13. |-- <mbed-mbedtls>
  14. |-- <PinDetect>
  15. Compiling .pioenvs\nucleo_f446re\src\main.o
  16. In file included from src\main.cpp:2:0:
  17. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In constructor 'AjK::PinDetect::PinDetect()':
  18. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:171:17: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  19. PinDetect() { error("You must supply a PinName"); }
  20. ^
  21. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  22. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  23. from src\main.cpp:1:
  24. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  25. FunctionPointerArg1(R(*function)() = 0)
  26. ^~~~~~~~~~~~~~~~~~~
  27. In file included from src\main.cpp:2:0:
  28. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:171:17: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  29. PinDetect() { error("You must supply a PinName"); }
  30. ^
  31. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  32. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  33. from src\main.cpp:1:
  34. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  35. FunctionPointerArg1(R(*function)() = 0)
  36. ^~~~~~~~~~~~~~~~~~~
  37. In file included from src\main.cpp:2:0:
  38. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:171:17: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  39. PinDetect() { error("You must supply a PinName"); }
  40. ^
  41. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  42. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  43. from src\main.cpp:1:
  44. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  45. FunctionPointerArg1(R(*function)() = 0)
  46. ^~~~~~~~~~~~~~~~~~~
  47. In file included from src\main.cpp:2:0:
  48. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:171:17: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  49. PinDetect() { error("You must supply a PinName"); }
  50. ^
  51. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  52. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  53. from src\main.cpp:1:
  54. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  55. FunctionPointerArg1(R(*function)() = 0)
  56. ^~~~~~~~~~~~~~~~~~~
  57. In file included from src\main.cpp:2:0:
  58. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In constructor 'AjK::PinDetect::PinDetect(PinName)':
  59. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:180:26: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  60. PinDetect(PinName p) {
  61. ^
  62. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  63. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  64. from src\main.cpp:1:
  65. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  66. FunctionPointerArg1(R(*function)() = 0)
  67. ^~~~~~~~~~~~~~~~~~~
  68. In file included from src\main.cpp:2:0:
  69. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:180:26: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  70. PinDetect(PinName p) {
  71. ^
  72. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  73. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  74. from src\main.cpp:1:
  75. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  76. FunctionPointerArg1(R(*function)() = 0)
  77. ^~~~~~~~~~~~~~~~~~~
  78. In file included from src\main.cpp:2:0:
  79. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:180:26: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  80. PinDetect(PinName p) {
  81. ^
  82. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  83. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  84. from src\main.cpp:1:
  85. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  86. FunctionPointerArg1(R(*function)() = 0)
  87. ^~~~~~~~~~~~~~~~~~~
  88. In file included from src\main.cpp:2:0:
  89. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:180:26: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  90. PinDetect(PinName p) {
  91. ^
  92. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  93. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  94. from src\main.cpp:1:
  95. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  96. FunctionPointerArg1(R(*function)() = 0)
  97. ^~~~~~~~~~~~~~~~~~~
  98. In file included from src\main.cpp:2:0:
  99. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In constructor 'AjK::PinDetect::PinDetect(PinName, PinMode)':
  100. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:190:37: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  101. PinDetect(PinName p, PinMode m) {
  102. ^
  103. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  104. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  105. from src\main.cpp:1:
  106. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  107. FunctionPointerArg1(R(*function)() = 0)
  108. ^~~~~~~~~~~~~~~~~~~
  109. In file included from src\main.cpp:2:0:
  110. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:190:37: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  111. PinDetect(PinName p, PinMode m) {
  112. ^
  113. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  114. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  115. from src\main.cpp:1:
  116. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  117. FunctionPointerArg1(R(*function)() = 0)
  118. ^~~~~~~~~~~~~~~~~~~
  119. In file included from src\main.cpp:2:0:
  120. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:190:37: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  121. PinDetect(PinName p, PinMode m) {
  122. ^
  123. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  124. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  125. from src\main.cpp:1:
  126. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  127. FunctionPointerArg1(R(*function)() = 0)
  128. ^~~~~~~~~~~~~~~~~~~
  129. In file included from src\main.cpp:2:0:
  130. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:190:37: warning: 'mbed::FunctionPointerArg1<R, void>::FunctionPointerArg1(R (*)()) [with R = void]' is deprecated: FunctionPointer has been replaced by Callback<void()> [since mbed-os-5.1] [-Wdeprecated-declarations]
  131. PinDetect(PinName p, PinMode m) {
  132. ^
  133. In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
  134. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
  135. from src\main.cpp:1:
  136. C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
  137. FunctionPointerArg1(R(*function)() = 0)
  138. ^~~~~~~~~~~~~~~~~~~
  139. In file included from src\main.cpp:2:0:
  140. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::setSampleFrequency(int)':
  141. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:208:64: warning: 'void mbed::Ticker::attach_us(T*, M, us_timestamp_t) [with T = AjK::PinDetect; M = void (AjK::PinDetect::*)(); us_timestamp_t = long long unsigned int]' is deprecated: The attach_us function does not support cv-qualifiers. Replaced by attach_us(callback(obj, method), t). [since mbed-os-5.1] [-Wdeprecated-declarations]
  142. _ticker->attach_us( this, &PinDetect::isr, _sampleTime );
  143. ^
  144. In file included from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:79:0,
  145. from src\main.cpp:1:
  146. C:\Users\user\.platformio\packages\framework-mbed/drivers/Ticker.h:144:10: note: declared here
  147. void attach_us(T *obj, M method, us_timestamp_t t)
  148. ^~~~~~~~~
  149. In file included from src\main.cpp:2:0:
  150. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::attach_asserted(void (*)())':
  151. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:263:44: warning: 'void mbed::Callback<R()>::attach(R (*)()) [with R = void]' is deprecated: Replaced by simple assignment 'Callback cb = func [since mbed-os-5.4] [-Wdeprecated-declarations]
  152. _callbackAsserted.attach( function );
  153. ^
  154. In file included from C:\Users\user\.platformio\packages\framework-mbed/rtos/Thread.h:29:0,
  155. from C:\Users\user\.platformio\packages\framework-mbed/rtos/rtos.h:30,
  156. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:22,
  157. from src\main.cpp:1:
  158. C:\Users\user\.platformio\packages\framework-mbed/platform/Callback.h:294:10: note: declared here
  159. void attach(R(*func)())
  160. ^~~~~~
  161. In file included from src\main.cpp:2:0:
  162. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::attach_deasserted(void (*)())':
  163. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:315:46: warning: 'void mbed::Callback<R()>::attach(R (*)()) [with R = void]' is deprecated: Replaced by simple assignment 'Callback cb = func [since mbed-os-5.4] [-Wdeprecated-declarations]
  164. _callbackDeasserted.attach( function );
  165. ^
  166. In file included from C:\Users\user\.platformio\packages\framework-mbed/rtos/Thread.h:29:0,
  167. from C:\Users\user\.platformio\packages\framework-mbed/rtos/rtos.h:30,
  168. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:22,
  169. from src\main.cpp:1:
  170. C:\Users\user\.platformio\packages\framework-mbed/platform/Callback.h:294:10: note: declared here
  171. void attach(R(*func)())
  172. ^~~~~~
  173. In file included from src\main.cpp:2:0:
  174. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::attach_asserted_held(void (*)())':
  175. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:367:48: warning: 'void mbed::Callback<R()>::attach(R (*)()) [with R = void]' is deprecated: Replaced by simple assignment 'Callback cb = func [since mbed-os-5.4] [-Wdeprecated-declarations]
  176. _callbackAssertedHeld.attach( function );
  177. ^
  178. In file included from C:\Users\user\.platformio\packages\framework-mbed/rtos/Thread.h:29:0,
  179. from C:\Users\user\.platformio\packages\framework-mbed/rtos/rtos.h:30,
  180. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:22,
  181. from src\main.cpp:1:
  182. C:\Users\user\.platformio\packages\framework-mbed/platform/Callback.h:294:10: note: declared here
  183. void attach(R(*func)())
  184. ^~~~~~
  185. In file included from src\main.cpp:2:0:
  186. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::attach_deasserted_held(void (*)())':
  187. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:419:50: warning: 'void mbed::Callback<R()>::attach(R (*)()) [with R = void]' is deprecated: Replaced by simple assignment 'Callback cb = func [since mbed-os-5.4] [-Wdeprecated-declarations]
  188. _callbackDeassertedHeld.attach( function );
  189. ^
  190. In file included from C:\Users\user\.platformio\packages\framework-mbed/rtos/Thread.h:29:0,
  191. from C:\Users\user\.platformio\packages\framework-mbed/rtos/rtos.h:30,
  192. from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:22,
  193. from src\main.cpp:1:
  194. C:\Users\user\.platformio\packages\framework-mbed/platform/Callback.h:294:10: note: declared here
  195. void attach(R(*func)())
  196. ^~~~~~
  197. Linking .pioenvs\nucleo_f446re\firmware.elf
  198. .pioenvs/nucleo_f446re/src/mainOld.o: In function `mbed::Callback<void ()>::Callback(void (*)())':
  199. C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:180: multiple definition of `keyPressed()'
  200. .pioenvs/nucleo_f446re/src/main.o:c:\Users\user\Documents\PlatformIO\Projects\Test/src/main.cpp:17: first defined here
  201. .pioenvs/nucleo_f446re/src/mainOld.o: In function `AjK::PinDetect::init(PinName, PinMode)':
  202. C:\Users\user\.platformio\packages\framework-mbed/drivers/DigitalIn.h:58: multiple definition of `main'
  203. .pioenvs/nucleo_f446re/src/main.o:c:\Users\user\Documents\PlatformIO\Projects\Test/src/main.cpp:35: first defined here
  204. .pioenvs/nucleo_f446re/src/mainOld.o:(.data.stage+0x0): multiple definition of `stage'
  205. .pioenvs/nucleo_f446re/src/main.o:(.data.stage+0x0): first defined here
  206. .pioenvs/nucleo_f446re/src/mainOld.o:(.data.watplzfor+0x0): multiple definition of `watplzfor'
  207. .pioenvs/nucleo_f446re/src/main.o:(.data.watplzfor+0x0): first defined here
  208. .pioenvs/nucleo_f446re/src/mainOld.o:(.bss.pin+0x0): multiple definition of `pin'
  209. .pioenvs/nucleo_f446re/src/main.o:(.bss.pin+0x0): first defined here
  210. collect2.exe: error: ld returned 1 exit status
  211. *** [.pioenvs\nucleo_f446re\firmware.elf] Error 1
  212. =============================================================================================== [ERROR] Took 6.67 seconds ===============================================================================================
  213. Der Terminalprozess wurde mit folgendem Exitcode beendet: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement