The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Issue: Revision 128: "mbed compile" fail with default_build not found

I downloaded the mbed_blinky examples and imported mbed library at revision 127:25aea2a3f4e3
linebreak Set target NRF51_DK, toolchain GCC_ARM
linebreak mbed compile build run correctly

Upgdated the mbed library to revision 128:9bcdf88f62b0
Set target NRF51_DK, toolchain GCC_ARM
mbed compile exit with error :

[ERROR] Attribute 'default_build' not found in target 'NRF51_DK'\\
[mbed] ERROR: "python" returned error code 1.\\
[mbed] ERROR: Command "python -u E:\Mbed\mbed_blinky\.temp\tools\make.py -t GCC_ARM -m NRF51_DK --source . --build .\BUILD\NRF51_DK\GCC_ARM" in "E:\Mbed\mbed_blinky"

1 comment:

11 Nov 2016

As mentioned on https://github.com/ARMmbed/mbed-cli/issues/391#issuecomment-259932373, this is a bug in revision 9bcdf88f62b0, using an older revision (temporary) solves this issue.