9 years, 11 months ago.

Online libs and git-version not in sync?

Hi

I am using the mbed-sdk (head-revision from https://github.com/mbedmicro/mbed.git) trying to use rpc. An rpc-example in the online compiler works fine. but using the checked-out version of the sdk does not work.

In the online version, I see that mbed contains a class mbed::Base which is inherited by mbed::I2C for example.

In the checked-out version mbed::Base is not existent...

What am I missing?

Any hints tips and eye-openers highly appreciated, thanks!

Cheers!

1 Answer

9 years, 11 months ago.

There is version control also on the online versions. If you import an example program most will use the libraries at the time the example was made: To make sure it keeps working, even if new versions of a library change. mbed::Base has long ago been removed, but the one you imported has an old version. You could update it (click on the mbed lib, click update), but then that one won't work anymore :P.

It might work with all libraries updated to the latest version, but I never done anything with RPC, so cannot help you further with it.

Accepted Answer

Holy *%&ç! Importing the "RPC over Serial"-example from https://mbed.org/cookbook/Interfacing-Using-RPC uses lib-version from 2010.07-08. That's a bit old, right... Thanks for pointing out!

posted by Marco Schuler 02 May 2014