5 years, 6 months ago.

Toolchain error - Please Help

Hi there!

I have been using the offline CLI for some time, but after I updated the ARM toolchain, it has errors and I can't get to work. When I compile, it shows this in my command prompt:

/media/uploads/stanleyaley/del_soon.jpg

I have downloaded the GCC_ARM from: https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads And I downloaded 6-2017-q1-update.

as you can see from the image above as well, I have set the global config to be the bin folder of the installed toolchain, and set the toolchain to be GCC_ARM.

and the errors are:

Error code:

[ERROR] arm-none-eabi-g++: error: Firmware: No such file or directory
arm-none-eabi-g++: error: Firmware/testings: No such file or directory
arm-none-eabi-g++: error: Firmware/testings/mbed-os: No such file or directory
arm-none-eabi-g++: error: Firmware/testings/mbed-os/features/unsupported: No such file or directory
arm-none-eabi-g++: error: Firmware/testings/mbed-os/features/unsupported/tests: No such file or directory
arm-none-eabi-g++: error: Firmware/testings/mbed-os/features/unsupported/tests/mbed: No such file or directory
arm-none-eabi-g++: error: Firmware/testings/mbed-os/features/unsupported/tests/mbed/env: No such file or directory

[mbed] ERROR: "c:\python27\python.exe" returned error.
       Code: 1
       Path: "E:\Ontel Firmware\testings"
       Command: "c:\python27\python.exe -u E:\Ontel Firmware\testings\mbed-os\tools\make.py -t GCC_ARM -m MAX32630FTHR --source . --build .\BUILD\MAX32630FTHR\GCC_ARM"
       Tip: You could retry the last command with "-v" flag for verbose output
---

I would be really grateful for someone to help with this issue.

Thank you in advance for your help!

Best regards, Stanley

1 Answer

5 years, 6 months ago.

Hi Stanley,

It looks like the toolchain doesn't like that you are using a " " space character in your folder titled "Ontel Firmware" - please try removing the space or adding a dash/underscore to that folder name and then try your command again.

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

Accepted Answer

Hi Jenny! It works! Thank you!!!

posted by Stanley Setiawan 04 Oct 2018