6 years, 11 months ago.

arm-cli on Windows

This is really super silly one but for us Windows users ...

The mbed-cli readme shows the example below. What it does not explain is how the mbed executable is created in the first place! Any help much appreciated. I will send a PR for said readme when I get mbed-cli working.

TAIA.

$ mbed new mbed-os-program
[mbed] Creating new program "mbed-os-program" (git)
[mbed] Adding library "mbed-os" from "https://github.com/ARMmbed/mbed-os" at latest revision in the current branch
[mbed] Updating reference "mbed-os" -> "https://github.com/ARMmbed/mbed-os/#89962277c20729504d1d6c95250fbd36ea5f4a2d"

1 Answer

6 years, 11 months ago.

The mbed executable is not created with this command. As stated in the README: "This creates a new folder "mbed-os-program", initializes a new repository and imports the latest revision of the mbed-os dependency to your program tree." It does not compile the code.

An executable will only be created after running the 'mbed compile' command. Please see the relevent part of the documentation - https://github.com/ARMmbed/mbed-cli#compiling-code.

Accepted Answer

Hello Sarah, thanks for the reponse but it's possible you've misunderstood my question: You say "An executable will only be created after running the 'mbed compile' command". I reply with yes of course, but where does mbed *itself* come from? Is it a script or what? TAIA.

posted by G 40 15 Jun 2017

Hello, you can see how to install mbed-cli here - https://github.com/ARMmbed/mbed-cli#installing-mbed-cli

posted by Sarah Marsh 23 Jun 2017