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


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


source


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.



mbed config -G GCC_ARM_PATH "/Users/amod-mac/Desktop/gcc-arm-none-eabi-7-2017-q4-major/bin"

+1


source







All Articles