Error: Target "LPC11U68" is not recognized ... mbed_src building impossible again

Hi

I need to build online with mbed_src instead of pre-built mbed lib.

Is it possible? It used to be possible not so long ago (Dec 2019). Now I get Target “LPC11U68” is not recognized

Please lets not get into the discussion of why we need it. Mbed has not cared about OS2 devices breaking in updates and I have had to work around issues several times. Using mbed-src used to be a way of getting a working binary.

The mbed-src (source code of Mbed OS 2) was superseded by mbed-dev.

However, I would suggest to use offline build environment rather than online compiler for Mbed 2.

Basically, you can…

  • Install python2 and virtualenv
  • Setup tools (Mbed CLI, GCC, hg and git etc)
  • Create your project and install mbed-sdk-tools
hg clone https://os.mbed.com/users/mbed_official/code/mbed-sdk-tools/ tools
  • Install mbed-dev
git clone https://github.com/ARMmbed/mbed-dev

Complete steps are explained this article in Japanese (you can use google translator).