Location of boards.txt for an Arduino DUE (SAM board)

Eric Leibenguth picture Eric Leibenguth · Mar 4, 2016 · Viewed 8.9k times · Source

I use the 1.6.7 Arduino IDE and I’ve installed the "Arduino SAM Boards (32-bits ARM Cortex-M3)" item for my DUE board, and it works fine.

However, I would like to tune some build parameters in my boards.txt file. Problem: I do not have a INSTALL/hardware/arduino/sam folder! I do have the traditional INSTALL/hardware/arduino/avr folder, but in this one boards.txt does not contain the settings for the DUE.

  • Where can the settings of the DUE be found?
  • Should I create myself a new boards.txt file in a new sam/ folder? What should be its default content?

Answer

Eric Leibenguth picture Eric Leibenguth · Mar 4, 2016

The mystery folder can be found in the Arduino15 directory, which is located under the home folder (not Arduino's install folder; that would be too easy). You can see the path in the Preferences (see below). The boards.txt file is in Arduino15\packages\arduino\hardware\sam\1.6.6.

enter image description here