user2243747
user2243747

Reputation: 2967

5_4-2016q3\bin\arm-none-eabi-g++ not found - Windows 10

I have created a simple IoT Project using Azure IoT Device Workbench extension.

After loading the default configuration I can see the following error on the output window.

Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
exec: "/bin/arm-none-eabi-g++": file does not exist
[Warning] Failed to generate IntelliSense configuration.
[Error] Analyzing sketch 'device.ino': Exit with code=1

I found that, project has a file named c_cpp_properties.json. By default compilerPath is pointing to C:\\Users\\heman\\AppData\\Local\\Arduino15\\packages\\AZ3166\\tools\\arm-none-eabi-gcc\\5_4-2016q3\\bin\\arm-none-eabi-g++ but tools folder is empty

Any idea how can I get this tool installed on my Windows 10 dev machine?

I found this a similar issue and tried to install IoT DevKit manually and it didn't help either.

There is a warning message on the manual installation guide which says recommended way to create a new project is through Azure IoT Wrokebench.

enter image description here

Can't wait to connect my new MXCHIP to Azure IoT Central.

UPDATE 1

Found this link and installed build tools using get-toolchain.bat file but still no luck!

Upvotes: 0

Views: 1182

Answers (1)

Vamsi Bitra
Vamsi Bitra

Reputation: 2739

This error exec:"/bin/arm-none-eabi-g++": file does not exist usually occurs when the required packages and modules are not installed properly.

To resolve this, try uninstalling the existing packages.

Install packages again by making use of below GitHub reference in which we have detailed information about:

  • Creating IoT Hub
  • Registering a Device
  • Sending DevKit Telemetry
  • Installing Arduino packages, ST-Link Drivers

Reference:

GitHub - Azure-Samples/mxchip-iot-devkit-get-started: This is the GetStarted tutorial for IoT DevKit, please follow the guide to run it in IoT Workbench.

Upvotes: 1

Related Questions