Mbed CLI: make.py: error: Could not find executable for ARM
I am trying to compile a program with mbed CLI using the following command:
mbed compile -m UBLOX_C027 -t ARM
This results in the following error:
make.py: error: Could not find executable for ARM.
Currently set search path: No path set
How do I install the executable file?
0
Tim Baas
source
to share
2 answers
Two ways:
- Set
ARM_PATH
to mbed_settings.py in the root folder of your project. - Or make sure ARMCC is on your way.
Note that the ARM
compiler target is for a commercial ARM compiler . If you are using GCC ARM then use target GCC_ARM
.
+1
Jan Jongboom
source
to share
I know I am too late, but it doesn't matter if someone is facing the same problem. I solved it this way on MAC OS.
- Download GCC_ARM for MAC OS here: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
- Extract it to a specific location and set the path using mbed cli:
mbed config -G GCC_ARM_PATH "/Users/amod-mac/Desktop/gcc-arm-none-eabi-7-2017-q4-major/bin"
+1
Amod amatya
source
to share