I'm trying to compile a program with the mbed CLI using the following command:
mbed compile -m UBLOX_C027 -t ARM
It results in the following error:
make.py: error: Could not find executable for ARM. Currently set search path: No path set
How can I set the executable?
Two ways, either:
- Set
ARM_PATH
in mbed_settings.py in the root folder of your project. - Or make sure that ARMCC is in your path.
Note that ARM
compiler target is for the commercial ARM compiler. If you're using GCC ARM use the GCC_ARM
target.
I know I am way too late but still if anyone is facing the same problem. I solved it in this way in MAC OS.
- Download GCC_ARM for MAC OS from here: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
- Extract it in some 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"