3 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:
Thanks so much
2 months, 3 weeks ago.
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.
Ralph, Team Mbed
To post an answer, please log in.