I’m probably being rather slow, but is there somewhere I can download the source code for the higher level thingies that are described in “Core code (firmware)” section of the documents. I thought this might be in the core-common-lib download from the open source section of the site, but this all looks to be much lower level.
I only ask because I am trying to port some code I wrote some time ago for an mbed board. When wading through the masses of compiler errors the one thing it doesn’t complain about is references to Serial as if it were a class or a structure. For example the following constructor seems to compile without error:
SerialPacketTransmitter( Serial *p ) :
port( p )
This is odd because I am not defining Serial and I thought the definition for Serial provided in the Spark libraries was an instance of a class, not a class itself, but if the above compiles then it seems to be treating Serial as if it were a class. It would be really helpful if I could look at the source code and find out exactly what kind of a beast a Serial is.