Skip to content

Commit dd48924

Browse files
author
jantje
committed
Teensy fixes for create and compile junit testing
The teensy installation happened with the boards.txt and that doesn(t work. In another commit I split the teensy board and the platform so here I use these
1 parent f728d02 commit dd48924

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

io.sloeber.core/src/jUnit/CreateAndCompile.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,11 @@ public static Collection boards() {
407407
{ "package_sparkfun_index.json", "SparkFun", "SparkFun AVR Boards", "atmega128rfa1", "" }, //
408408

409409
// Teensy
410-
{ "local", Shared.teensyBoards_txt, "", "teensy31", "usb=serial\nspeed=96\nkeys=en-us" }, //
411-
{ "local", Shared.teensyBoards_txt, "", "teensy30", "usb=serial\nspeed=96\nkeys=en-us" }, //
412-
{ "local", Shared.teensyBoards_txt, "", "teensyLC", "usb=serial\nl\nspeed=48\nkeys=en-us" }, //
413-
{ "local", Shared.teensyBoards_txt, "", "teensypp2", "usb=serial\nspeed=16\nkeys=en-us" }, //
414-
{ "local", Shared.teensyBoards_txt, "", "teensy2", "usb=serial\nspeed=16\nkeys=en-us" }, //
410+
{ "local", Shared.getTeensyBoard_txt(), "", "teensy31", "usb=serial\nspeed=96\nkeys=en-us" }, //
411+
{ "local", Shared.getTeensyBoard_txt(), "", "teensy30", "usb=serial\nspeed=96\nkeys=en-us" }, //
412+
{ "local", Shared.getTeensyBoard_txt(), "", "teensyLC", "usb=serial\nl\nspeed=48\nkeys=en-us" }, //
413+
{ "local", Shared.getTeensyBoard_txt(), "", "teensypp2", "usb=serial\nspeed=16\nkeys=en-us" }, //
414+
{ "local", Shared.getTeensyBoard_txt(), "", "teensy2", "usb=serial\nspeed=16\nkeys=en-us" }, //
415415

416416
// TeeOnArdu avr
417417
{ "package_adafruit_index.json", "TeeOnArdu", "Adafruit TeeOnArdu", "TeeOnArdu",
@@ -516,7 +516,7 @@ public static void installAdditionalBoards() {
516516
"https://udooboard.github.io/arduino-board-package/package_udoo_index.json" };
517517
BoardsManager.addPackageURLs(new HashSet<>(Arrays.asList(packageUrlsToAdd)), true);
518518
BoardsManager.installAllLatestPlatforms();
519-
BoardsManager.referenceLocallInstallation(Shared.teensyInstall);
519+
BoardsManager.referenceLocallInstallation(Shared.getTeensyPlatform());
520520
}
521521

522522
@Test

0 commit comments

Comments
 (0)