Bakground:
When compiling a demo project about e-paper, I got this problem
./GxEPD/src/GxIO/GxIO_SPI/GxIO_SPI.h:39:5: error: ‘SPISettings’ does not name a type
SPISettings _spi_settings;
^
which on the Internet, people often say your Arduino core is not up-to-date and the one installed from
sudo apt install arduino-core
is ancient. And you have to install the latest version.
Regardless of whether this solves my original problem or not, I want to have the latest Arduino core on my laptop.
From arduino.cc I grabbed a zipped file and ran ./install.sh which did not provide enough results to know what it exactly did. Now, I am concerned that I have multiple installation in several places.
Main question:
When I run my make file and it is processed by arduino-mk, which version of arduino-core is it referred to and where is it located?
I am looking for a full proof method. I do not want to open somewhere from / directory accidentally. Because maybe this is not the arduino-core in use.
~/.arduino15avr-gcc. I think I could find the answer a bit easier by paying attention to the logs coming out of make such as/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -MMD -c -mmcu=atmega328p ...as well asARDUINO_DIR = /usr/share/arduinoandARDUINO_VERSION = 105. Now the question is whether my Arduino core is recent?arduino.cc, the version ofArduino Software (IDE)is1.6.2. Is this only the version of IDE or is it the version of core too?/usr/share/arduino/hardwareis the location of boards packages bundled with IDE