mbed-cli: mbed-cli does not find ARM compiler in linux (with ARM_PATH defined)

Trying to compile with ARM compiler – Getting this kind of failure:

Building project mbed-client-testapp (K64F, ARM)
ERROR: run_cmd: Command 'C:/Program Files/ARM/bin/armcc' can't be found
ERROR: run_cmd: Command 'C:/Program Files/ARM/bin/armcc' can't be found

I have specified as per README:

Product: ARM Compiler 5.06
Component: ARM Compiler 5.06 update 1 (build 61)
Tool: armcc [4d35ad]
teetak01@machine:~/dev/mbed-client-testapp (bootstrap)$ which armcc
/home/teetak01/ARM_Compiler_5.06u1/bin/armcc
teetak01@machine:~/dev/mbed-client-testapp (bootstrap)$ env | grep ARM_PATH
GCC_ARM_PATH=/usr/bin/arm-none-eabi-gcc
ARM_PATH=/home/teetak01/ARM_Compiler_5.06u1
Command-line code management tool for ARM mbed OS - http://www.mbed.com
version 0.7.3

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 27 (13 by maintainers)

Most upvoted comments

@matthieu-labas Set your ARM_PATH to /home/matthieu/ARM_Compiler_5.06u6.

@screamerbg I did not initially do the first part, bacause I presumed that specifying an en enviromental variable would override any hard-coded definitions. It should be globally configurable parameters, instead of repository-specific place. Currently I have to edit a file manually for each repo to get the ARM_PATH working correctly.