Il 19/12/2017 03:22, William Westfield ha scritto:
> On a somewhat related note, if I patch one of the separate core repositories (Arduino/ArduinCore-sam), how do I convince a normal Arduino install to use that core for testing?
The simplest way is to use the sketchbook/hardware folder, just make a
symlink from:
SKETCHBOOK/hardware/arduino-test/sam
to your clone of the ArduinoCore-sam repo.
Note the use of the vendor "arduino-test" instead of "arduino": this is
required to not overlap with the core installed via board manager and
results in a duplicate set of boards in the boards menu (one from the
core installed via board manager and the other from your cloned
repository), you need to select the correct board to test your cloned
repository.
If you're unsure you can enable verbose compile to see if the IDE is
picking the desired files.
C
--
Cristian Maglie <
c.ma...@arduino.cc>