Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 3 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
10 years, 3 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.
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 02 May 2014