Skip to content

Arduino-Makefile cannot find samd boards.txt #657

@rohoog

Description

@rohoog

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions