ARMmbed / mbed-os-example-blinky

Blinky example for Mbed OS 6.0
Apache License 2.0
42 stars 158 forks source link

ARM compiler not installed by installing mbed CLI #190

Closed kfezer closed 5 years ago

kfezer commented 5 years ago

Getting this error:

(mbed CLI) ~/workspace $ mbed compile -m K64F -t ARM -v
\[mbed] Working path "/Users/***/workspace" (program)
[mbed] Exec "/Applications/MBEDCLI.app/Contents/Resources/miniconda/bin/python -u /Users/***/workspace/mbed-os/tools/make.py -t ARM -m K64F --source . --build ./BUILD/K64F/ARM -v" in "/Users/*****/workspace"
------------------------------------------------------------
Warning: We noticed that you are using Arm Compiler 5. We are deprecating the use of Arm Compiler 5 soon. Please upgrade your environment to Arm Compiler 6 which is free to use with Mbed OS. For more information, please visit https://os.mbed.com/docs/mbed-os/latest/tools/index.html
------------------------------------------------------------
Could not find executable for ARMC5.
Currently set search path: No path set
[mbed] ERROR: "/Applications/MBEDCLI.app/Contents/Resources/miniconda/bin/python" returned error.
       Code: 2
       Path: "/Users/******/workspace"
       Command: "/Applications/MBEDCLI.app/Contents/Resources/miniconda/bin/python -u /Users/karfez01/workspace/mbed-os/tools/make.py -t ARM -m K64F --source . --build ./BUILD/K64F/ARM -v"
       Tip: You could retry the last command with "-v" flag for verbose output
ciarmcom commented 5 years ago

Internal Jira reference: https://jira.arm.com/browse/IOTCORE-1345

0xc0170 commented 5 years ago

you want to use ARMC5 or ARMC6 ? Looks like it is trying to get ARMC5. How are you path set for compilers , in this case ARM? is it visible in paths or using mbed cli to config it to different location?

0xc0170 commented 5 years ago

I am closing this due to inactivity.