mbed with cmake and CodeSourcery toolchain

10 Feb 2012

Hi guys, I just put up a wiki page at http://mbed.org/cookbook/mbed-cmake detailing my (so far moderately successful) attempts at getting my mbed code to compile using the CodeSourcery toolchain and my preferred buildsystem, cmake. I believe getting cmake to work will be an advantage since it is simpler to understand than makefiles, more flexible, and more cross platform. As it says in the page, I've sorted the script so it sets up the correct linker files, startup code and includes for all the different types of mbed but so far I ave only got the 1768 to actually work with this.

Any help (or any use of it!) would be much appreciated.

Anyway, now that I can build software for mbed using my favourite offline tools and favourite buildsystem, it's finally become a properly useful tool for my day to day coding :-D.