9 years, 7 months ago.

online compiler (mbed.org) or codewarrior

I want to ask that which is a better platform for the mbed, should we use codewarrrior for the development or mbed.org online compiler for making applications like IOT or simialr

thanks in advance

1 Answer

9 years, 7 months ago.

I would say it really depends on your situation. The online compiler has some nice advantages: Easy to always import (and publish) libraries, and keep them up to date, version control, etc. Also easy to keep the main mbed library up to date, compile for another platform, etc. And especially when just getting started: It just works. No problems with setting inclusion paths and that crap, just launch the compiler and start working with it.

However for real-debugging instead of printf style debugging you will need an offline environment. And offline compilers are more powerful and more customizable than the online compiler. Also then you are completely in control of your environment, and you don't depend on a third party you have no control over.

Now as a mainly hobbyist, the downtime the mbed site/compiles has had in the years is way less than the downtime I would have with an offline compiler which mysteriously doesn't work and you got to figure out why not. Also printf style debugging has been fine for me (to be fair, printf style debugging of custom serial drivers is not the best idea :P). But for profesional work where coding for a microcontroller is the main job*, then I think I would go for an offline environment. But it if of course also personal preference.

. * I have for example used an mbed to interface between my PC and an ASIC, there coding the mbed wasn't the main job, and the online compiler was more than sufficient for the task.

Accepted Answer