Report
6 months ago.

MBED CLI Help

Hey all, I am trying to get the mbed cli working on my machine, and am having all kinds of problems. Here are my steps: 1) Downloaded mbed cli

2) In a new directory "mbed import https://ide.mbed.com/compiler/#nav:/mbed-os-example-blinky;"

3) mbed detect

4) mbed toolchain GCC_ARM

5) mbed target NUCLEO_F103RB

All of those work properly. Then when I do "mbed compile" I get:

https://pastebin.com/450byD1R

Any suggestions?

Thanks so much

What do you get when you do "mbed compile"? Nothing?

posted by Kentaro Okuda 21 Dec 2018

I get this output: https://pastebin.com/450byD1R

posted by Kyle Hunter 21 Dec 2018

What mbed-cli version are you using?

posted by Desmond Chen 26 Dec 2018

@Desmond Chen 1.8.3

posted by Kyle Hunter 26 Dec 2018
Comment on this question

1 Answer

5 months, 2 weeks ago.

Hi Kyle,

It appears that an outdated version of gcc has crept into your build system. You should be using v6 yet this message at the start of the build shows that you are using v4.5.2:

PS C:\newest\mbed-os-example-blinky> mbed compile
[mbed] Working path "C:\Simba\newest\mbed-os-example-blinky" (program)
[Warning] @,: Compiler version mismatch: Have 4.5.2; expected version >= 6.0.0 and < 7.0.0

Supported compiler versions are listed here:

A standard install of Mbed from the Windows installer will include gcc v6, so you might have this already on your system. You will then need to set the GCC_ARM_PATH variable as described here:

Let us know how that works for you.

Regards,

Ralph, Team Mbed


To post an answer, please log in.