I’m building for a MKRZERO device using Windows 10. The project was setup by a friend and he had it all working in VSCODE and PlatformIO on two machines. For some reason on my machine I’m getting
...
Building in release mode
Compiling .pio\build\mkr1000USB\src\main.cpp.o
'arm-none-eabi-g++' is not recognized as an internal or external command,
operable program or batch file.
I’ve found a few other threads here with similar situations, but none of the help has been helpful. I think I’m encountering a different issue and I’d appreciate help.
Here’s my platformio.ini:
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:mkr1000USB]
platform = atmelsam
board = mkrzero
framework = arduino
monitor_speed = 115200
lib_deps =
arduino-libraries/Ethernet@^2.0.0
marcoschwartz/aREST@0.0.0-alpha+sha.0e6b782568
adafruit/Adafruit SleepyDog Library@^1.4.0
andrealombardo/L298N@1.1.0
adafruit/Adafruit_VL53L0X@^1.1.0
adafruit/Adafruit_VL6180X@^1.2.0
adafruit/Adafruit GFX Library@^1.10.7
adafruit/Adafruit SSD1306@^2.4.3
facts-engineering/P1AM@^1.0.3
adafruit/Adafruit BusIO@^1.7.3
bblanchon/ArduinoTrace@^1.2.0
sparkfun/SparkFun VL53L1X 4m Laser Distance Sensor@^1.2.9
sparkfun/SparkFun I2C Mux Arduino Library@^1.0.1
sparkfun/SparkFun Qwiic Relay Arduino Library@^1.2.0
I’ve verified:
All instances of arm-none-eabi-g++.exe
on my machine run on Windows. E.g:
~\.platformio\.cache\tmp\pkg-installing-ouvj7cyi\bin> .\arm-none-eabi-g++.exe --version
arm-none-eabi-g++.exe (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]
and
~\OneDrive - Kindel Systems\Documents\ArduinoData\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\bin]> .\arm-none-eabi-g++.exe --version
arm-none-eabi-g++.exe (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 7.2.1 20170904 (release) [ARM/embedded-7-branch revision 255204]
What am I missing? What could be misconfigured?