Created attachment 176225 [details] svn(1) diff of devel/arduino-core This update enables SAM platforms (Due [Programming Port], Due [Native Port]) for use in the IDE, and simplifies package_index_bundled.json for future maintainability with our packages. Do note that programming a Due from the IDE *does not* currently work, but compilation is fine. For reasons not yet known to me, the IDE is failing to do the 1200bps reset hack on before passing the .hex file over to bossac. I will address this in short-ish time as I look this over tonight -- in the meantime, the Due can be programmed manually by compiling with the IDE and then doing a magical incantation along these lines: stty -f /dev/$port 1200 stty stop /dev/$port bossac --port=/dev/$port -U false -e -w true -b $hexfile -R whilst connected to the programming port of the Due.
Take.
Hi Kyle, two notes: . (critical) make patch does not work, at least files/patch-hardware_arduino_samd_platform.txt -- there is no hardware/arduino/samd directory; . (non-critical) there are some hunks at the patch which change only timings of patches, such hunks add unneeded noise to functional changes and are disliked by the community. Otherwise good job, thank you.
Created attachment 176254 [details] svn(1) diff of devel/arduino-core Whoops, my apologies. All of my build machines and development machines have SAMD set, so I do the dumb...I really need to setup a clean environment for this. This version: * Moves the SAMD patch to extrapatch-hardware_arduino_samd_platform.txt, and adds this to SAMD_EXTRA_PATCHES * I reverted the files that were simply re-rolled and no different, leaving the timestamps the same
A commit references this bug: Author: bsam Date: Fri Oct 28 21:32:02 UTC 2016 New revision: 424885 URL: https://svnweb.freebsd.org/changeset/ports/424885 Log: devel/arduino-core: Enable SAM platforms for use in the IDE, simplify package_index_bundled.json. PR: 213838 Submitted by: Kyle Enavs <bsdports@kyle-evans.net> (maintainer) Changes: head/devel/arduino-core/Makefile head/devel/arduino-core/files/extrapatch-hardware_arduino_samd_platform.txt head/devel/arduino-core/files/patch-hardware_arduino_sam_platform.txt head/devel/arduino-core/files/patch-hardware_package__index__bundled.json
Committed, thanks! You wrote: --- * I reverted the files that were simply re-rolled and no different, leaving the timestamps the same --- Hm, I never think about doing it that way. ;-) I usually review my diff files before submitting and just remove unneeded hunks.