7 years, 8 months ago.

NaMote72 platform, building scpi_sx127x and lmic_NAmote_GPS program fails.

I've been trying to get the NaMote72 I have up and running and when I build the scpi_sx127x and lmic_NAmote_GPS programs using the online compiler both build with errors.

With scpi_sx127x I get the following error.

Error: No instance of constructor "SX127x::SX127x" matches the argument list in "scpi-def.cpp", Line: 31, Col: 15 Warning: Function "mbed::Callback<R ()>::attach(R (*)()) [with R=void]" (declared at <a href="#" onmousedown="mbed_doc_goto('/scpi_sx127xextras/mbed_fb8e0ae1cceb/platform/Callback.h', '271'); return false;">/extras/mbed_fb8e0ae1cceb/platform/Callback.h:271</a>) was declared "deprecated" in "scpi-def.cpp", Line: 1656, Col: 22 Info: Unable to download. Fix the reported errors...

With lmicNAmote_GPS I get this error

Warning: Function "mbed::SerialBase::attach(T *, void (T::*)(), mbed::SerialBase::IrqType) [with T=GPS]" (declared at <a href="#" onmousedown="mbed_doc_goto('/lmic_NAmote_GPSextras/mbed_7130f322cb7e/drivers/SerialBase.h', '117'); return false;">/extras/mbed_7130f322cb7e/drivers/SerialBase.h:117</a>) was declared "deprecated" in "lib_gps/gps.cpp", Line: 72, Col: 13

Error: Function "debug" has already been defined in "extras/mbed_7130f322cb7e/platform/mbed_debug.h", Line: 40, Col: 21

Error: Linkage specification is incompatible with previous "hal_sleep" (declared at <a href="#" onmousedown="mbed_doc_goto('/lmic_NAmote_GPS/lmic_MOTE_L152RC/TARGET_MOTE_L152RC/hal.h', '58'); return false;">lmic_MOTE_L152RC/TARGET_MOTE_L152RC/hal.h:58</a>) in "extras/mbed_7130f322cb7e/hal/sleep_api.h", Line: 44, Col: 7 Info: Unable to download. Fix the reported errors...

I did import the Nucleo_blink_led program and built it for the NUCLEO_L152RE platform and it builds fine.

I'm completely unsure what to do at this point it looks like the demo programs for the NaMote72 no longer build.

By any chance were you able to solve it? I am trying to use the SCPI command parser program and i am getting that same error. Wondering if you were able to solve it, thank you.

posted by jessica perez 01 May 2018
Be the first to answer this question.