const int LED = 13; // Blue "stat" LED on pin 13
void setup()
{
pinMode(LED, OUTPUT); //set pin as output
digitalWrite(LED, LOW); //turn LED off
}
void loop()
{
digitalWrite(LED, HIGH); // Blue LED on
delay(250);
digitalWrite(LED, LOW); // Blue LED off
delay(250);
}
I got the following error messages.
Arduino: 1.8.19 (Mac OS X), Board: "SparkFun Qwiic Micro"
fork/exec /Users/admin/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board SparkFun Qwiic Micro.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
arm-none-eabi-g++ was in a lot of search results, but was in long and different paths.
I don't know if it makes a difference, but I moved a sketch file from a flash drive. I installed the board when the file was on the flash drive.
Hi @jbs_sf. The "SparkFun SAMD Boards" platform (AKA "core") has a dependency on the tools that are installed when you install the "Arduino SAMD Boards (32-bits ARM Cortex-M0+)" platform. So you must install both those platforms.
If you don't install the "Arduino SAMD Boards (32-bits ARM Cortex-M0+)" platform then the right version of arm-none-eabi-gcc tool isn't installed and you get this error message.
Once you have installed the platforms, you will use the Tools > Board > SparkFun SAMD Boards > SparkFun Qwiic Micro menu selection in Arduino IDE, just as described in SparkFun's instructions.
If you would like me to provide instructions you can follow to install the "Arduino SAMD Boards (32-bits ARM Cortex-M0+)" platform, just tell me which version of Arduino IDE you are using (e.g., "2.0.1")? The version is shown on the window title bar and also in the Help > About dialog.
I do not really have very much experience to other boards apart form arduino however I would probaly say that there is a certain library that you would need to install or got to 'manage boards' in the arduino IDE software and then download 'Arduino AVR Boards by arduino'.
If you do need to install a certain library then I would probaly reccoment searching up your error message online or at least small parts of it and then that may help fix your problem.
Yes, please provide instructions, @ptillisch. I’m using version 1.8.19.
I tried using just Arduino SAMD (32-bits ARM Cortex-M0+) Boards, and then tried Arduino Zero (Programming Port) and Arduino Zero (Native USB Port). I still wasn’t able to select a version later than 1.8.12.