@@ -17,7 +17,7 @@ public class MySystem {
17
17
private static final String jantjesWindowsMachineHashKey = "1248215851" ;
18
18
//the one below is based on one mac address Fysiek adres (MAC): C0-3F-D5-66-04-58
19
19
private static final String jantjesWindowsMachineHashkeyAfterUpdate ="139705674" ;
20
- private static final String jantjesLinuxMachineHashKey = "-784776710 " ;
20
+ private static final String jantjesLinuxMachineHashKey = "88937904 " ;
21
21
private static final String jantjeWindowsMachineHashkeyAfterSecondUpdate ="-441525448" ;
22
22
23
23
public static String getTeensyPlatform () {
@@ -27,7 +27,7 @@ public static String getTeensyPlatform() {
27
27
case jantjeWindowsMachineHashkeyAfterSecondUpdate :
28
28
return "E:\\ arduino\\ arduino-1.8.12 - teensy\\ hardware\\ teensy" ;
29
29
case jantjesLinuxMachineHashKey :
30
- return "/home/jan/nas/linux/ arduino/arduino -1.8.8-linux64/arduino-1.8.8 /hardware/teensy" ;
30
+ return "/home/jan/tensyduino/ arduino-1.8.12 /hardware/teensy" ;
31
31
default :
32
32
return new String ();
33
33
}
@@ -39,10 +39,19 @@ public static String getTeensyBoard_txt() {
39
39
public static MCUBoard [] getUploadBoards () {
40
40
switch (Other .getSystemHash ()) {
41
41
case jantjesLinuxMachineHashKey : {
42
- MCUBoard [] boards = { Teensy .teensypp2 (), ESP8266 .wemosD1 ("COM21" ),
43
- Arduino .fried2016 ("COM26" ), Arduino .yun ("COM20" ), Arduino .uno ("COM6" ),
44
- Arduino .getMega2560Board ("COM11" ), Arduino .zeroProgrammingPort ("COM14" ), Arduino .due ("COM8" ),
45
- Arduino .leonardo ("COM31" ), Arduino .arduino_101 ("COM15" ) };
42
+ MCUBoard [] boards = {
43
+ Teensy .teensypp2 ("/dev/ttyACM0" ),
44
+ Arduino .leonardo ("/dev/ttyS0" ), //werkt niet
45
+ Arduino .fried2016 ("/dev/ttyS0" ), //werkt niet
46
+ Arduino .zeroNatviePort ("/dev/ttyS0" ), //werkt niet
47
+ Arduino .yun ("COM20" ),
48
+ ESP8266 .wemosD1 ("/dev/ttyUSB0" ),
49
+ Arduino .arduino_101 ("COM15" ),
50
+ Arduino .zeroProgrammingPort ("COM14" ),
51
+ Arduino .getMega2560Board ("COM11" ),
52
+ Arduino .dueprogramming ("COM8" ),
53
+ Arduino .uno ("COM6" ),
54
+ };
46
55
return boards ;
47
56
}
48
57
case jantjesWindowsMachineHashKey :
@@ -66,7 +75,7 @@ public static MCUBoard[] getUploadBoards() {
66
75
return boards ;
67
76
}
68
77
default :
69
- fail ("Boards for the system with haskey " + Other .getSystemHash () + "are not found" );
78
+ fail ("Boards for the system with haskey " + Other .getSystemHash () + " are not found" );
70
79
return null ;
71
80
}
72
81
}
0 commit comments