Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Processing nucleo_f446re (platform: ststm32; board: nucleo_f446re; framework: mbed)
- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Verbose mode can be enabled via `-v, --verbose` option
- PLATFORM: ST STM32 > ST Nucleo F446RE
- SYSTEM: STM32F446RET6 180MHz 128KB RAM (512KB Flash)
- DEBUG: CURRENT(stlink) ON-BOARD(stlink) EXTERNAL(blackmagic, jlink)
- Library Dependency Finder -> http://bit.ly/configure-pio-ldf
- LDF MODES: FINDER(chain) COMPATIBILITY(soft)
- Collected 26 compatible libraries
- Scanning dependencies...
- Dependency Graph
- |-- <mbed-rtos>
- |-- <mbed-mbedtls>
- |-- <PinDetect>
- Compiling .pioenvs\nucleo_f446re\src\main.o
- In file included from src\main.cpp:2:0:
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In constructor 'AjK::PinDetect::PinDetect()':
- 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]
- PinDetect() { error("You must supply a PinName"); }
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect() { error("You must supply a PinName"); }
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect() { error("You must supply a PinName"); }
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect() { error("You must supply a PinName"); }
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In constructor 'AjK::PinDetect::PinDetect(PinName)':
- 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]
- PinDetect(PinName p) {
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect(PinName p) {
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect(PinName p) {
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect(PinName p) {
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In constructor 'AjK::PinDetect::PinDetect(PinName, PinMode)':
- 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]
- PinDetect(PinName p, PinMode m) {
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect(PinName p, PinMode m) {
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect(PinName p, PinMode m) {
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- 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]
- PinDetect(PinName p, PinMode m) {
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/drivers/SPI.h:32:0,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:66,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/FunctionPointer.h:73:5: note: declared here
- FunctionPointerArg1(R(*function)() = 0)
- ^~~~~~~~~~~~~~~~~~~
- In file included from src\main.cpp:2:0:
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::setSampleFrequency(int)':
- 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]
- _ticker->attach_us( this, &PinDetect::isr, _sampleTime );
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:79:0,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/drivers/Ticker.h:144:10: note: declared here
- void attach_us(T *obj, M method, us_timestamp_t t)
- ^~~~~~~~~
- In file included from src\main.cpp:2:0:
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::attach_asserted(void (*)())':
- 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]
- _callbackAsserted.attach( function );
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/rtos/Thread.h:29:0,
- from C:\Users\user\.platformio\packages\framework-mbed/rtos/rtos.h:30,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:22,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/Callback.h:294:10: note: declared here
- void attach(R(*func)())
- ^~~~~~
- In file included from src\main.cpp:2:0:
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::attach_deasserted(void (*)())':
- 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]
- _callbackDeasserted.attach( function );
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/rtos/Thread.h:29:0,
- from C:\Users\user\.platformio\packages\framework-mbed/rtos/rtos.h:30,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:22,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/Callback.h:294:10: note: declared here
- void attach(R(*func)())
- ^~~~~~
- In file included from src\main.cpp:2:0:
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::attach_asserted_held(void (*)())':
- 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]
- _callbackAssertedHeld.attach( function );
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/rtos/Thread.h:29:0,
- from C:\Users\user\.platformio\packages\framework-mbed/rtos/rtos.h:30,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:22,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/Callback.h:294:10: note: declared here
- void attach(R(*func)())
- ^~~~~~
- In file included from src\main.cpp:2:0:
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h: In member function 'void AjK::PinDetect::attach_deasserted_held(void (*)())':
- 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]
- _callbackDeassertedHeld.attach( function );
- ^
- In file included from C:\Users\user\.platformio\packages\framework-mbed/rtos/Thread.h:29:0,
- from C:\Users\user\.platformio\packages\framework-mbed/rtos/rtos.h:30,
- from C:\Users\user\.platformio\packages\framework-mbed/mbed.h:22,
- from src\main.cpp:1:
- C:\Users\user\.platformio\packages\framework-mbed/platform/Callback.h:294:10: note: declared here
- void attach(R(*func)())
- ^~~~~~
- Linking .pioenvs\nucleo_f446re\firmware.elf
- .pioenvs/nucleo_f446re/src/mainOld.o: In function `mbed::Callback<void ()>::Callback(void (*)())':
- C:\Users\user\.platformio\lib\PinDetect_ID234/PinDetect.h:180: multiple definition of `keyPressed()'
- .pioenvs/nucleo_f446re/src/main.o:c:\Users\user\Documents\PlatformIO\Projects\Test/src/main.cpp:17: first defined here
- .pioenvs/nucleo_f446re/src/mainOld.o: In function `AjK::PinDetect::init(PinName, PinMode)':
- C:\Users\user\.platformio\packages\framework-mbed/drivers/DigitalIn.h:58: multiple definition of `main'
- .pioenvs/nucleo_f446re/src/main.o:c:\Users\user\Documents\PlatformIO\Projects\Test/src/main.cpp:35: first defined here
- .pioenvs/nucleo_f446re/src/mainOld.o:(.data.stage+0x0): multiple definition of `stage'
- .pioenvs/nucleo_f446re/src/main.o:(.data.stage+0x0): first defined here
- .pioenvs/nucleo_f446re/src/mainOld.o:(.data.watplzfor+0x0): multiple definition of `watplzfor'
- .pioenvs/nucleo_f446re/src/main.o:(.data.watplzfor+0x0): first defined here
- .pioenvs/nucleo_f446re/src/mainOld.o:(.bss.pin+0x0): multiple definition of `pin'
- .pioenvs/nucleo_f446re/src/main.o:(.bss.pin+0x0): first defined here
- collect2.exe: error: ld returned 1 exit status
- *** [.pioenvs\nucleo_f446re\firmware.elf] Error 1
- =============================================================================================== [ERROR] Took 6.67 seconds ===============================================================================================
- Der Terminalprozess wurde mit folgendem Exitcode beendet: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement