You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the arduino-mk on fedora30 (arduino 1.8.5). I have successfully built the rpm using the SPEC file. I have the standard installation of arduino IDE from fedora: ARDUINO_DIR = /usr/share/arduino. I added ARCHITECTURE = samd
The board.txt files are in: [~]$ rpm -ql arduino-core | grep boards.txt /etc/arduino/boards.txt /usr/share/arduino/hardware/arduino/avr/boards.txt [~]$ find .arduino1* -name boards.txt .arduino15/packages/arduino/hardware/avr/1.8.3/boards.txt .arduino15/packages/arduino/hardware/samd/1.8.9/boards.txt
Yes, 1.8.5 uses the .arduino15 user conf folder and indeed the M0 boards were not included in the standard installation, it needed to be added using library manager.
I tried adding ARDUINO_PACKAGE_DIR = ~/.arduino15/packages/arduino , but that doesn't help.
How should this use-case be handled?
The text was updated successfully, but these errors were encountered:
I have now 'hardcoded' the BOARDS_TXT variable to the correct location. This gets me a little further, but the cpu model is passed to the g++ command line as -mmcu=cortex-m0plus, but -mmcu is not a recognised command line option for gcc/g++; it should be -mcpu=cortex-m0plus.
I'm trying to use the arduino-mk on fedora30 (arduino 1.8.5). I have successfully built the rpm using the SPEC file. I have the standard installation of arduino IDE from fedora: ARDUINO_DIR = /usr/share/arduino. I added ARCHITECTURE = samd
The board.txt files are in:
[~]$ rpm -ql arduino-core | grep boards.txt
/etc/arduino/boards.txt
/usr/share/arduino/hardware/arduino/avr/boards.txt
[~]$ find .arduino1* -name boards.txt
.arduino15/packages/arduino/hardware/avr/1.8.3/boards.txt
.arduino15/packages/arduino/hardware/samd/1.8.9/boards.txt
Yes, 1.8.5 uses the .arduino15 user conf folder and indeed the M0 boards were not included in the standard installation, it needed to be added using library manager.
I tried adding ARDUINO_PACKAGE_DIR = ~/.arduino15/packages/arduino , but that doesn't help.
How should this use-case be handled?
The text was updated successfully, but these errors were encountered: