Thanks for your fast reply . I’m kind of confused what you mean by which mBed libraries.
Peripheral-wise the mBed Platform that we use (LPC 1768) provides ethernet, USB Host and Device, CAN, SPI, I2C, ADC, DAC, PWM and GPIO interfaces. The course labs/projects utilize most/all of them except for maybe ethernet and CAN.
If by libraries, you mean the code such as those provided for the firmware examples, I understand that it may not be entirely syntax compatible, but I think I’m asking a different question.
There is a software SDK for the firmware that requires implementing the mbed HAL API when porting to a new microcontroller. I guess my question is that whether it’s possible to port the mBED firmware to the hardware platform provided by Spark. (which may be a stupid question )
So, I basically want to be able to plug in the Spark Core instead of the LPC1768 and program it like I would the mBed using a binary compiled for it. In other words, reprogram it at the bare metal level (using KEIL or something) to use the mbed SDK. It’d be great if someone already tried this (and succeeded), but if not I just want to know if it’s possible at all.
Of course, the question may be what’s the point of all this, but I think a lot of other course-material code has been established based on the mBed platform and we’d like to reuse it with the Spark and then later cover topics that utilize Spark core-specific features.
Thanks in advance! Sorry for the long reply!