Tim Baas
Tim Baas

Reputation: 6185

mbed CLI: make.py: error: Could not find executable for ARM

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?

Upvotes: 1

Views: 4010

Answers (2)

apex
apex

Reputation: 859

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.

  1. Download GCC_ARM for MAC OS from here: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads
  2. 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"

Upvotes: 7

Jan Jongboom
Jan Jongboom

Reputation: 27352

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.

Upvotes: 5

Related Questions