@@ -90,18 +90,31 @@ public static Collection examples() {
90
90
}
91
91
92
92
private static boolean isExampleOkForUno (String key ) {
93
- final String [] notOkForUno = { "Esploraexamples-Beginners-EsploraAccelerometer" ,
94
- "Esploraexamples-Beginners-EsploraBlink" , "Esploraexamples-Beginners-EsploraJoystickMouse" ,
95
- "Esploraexamples-Beginners-EsploraLedShow" , "Esploraexamples-Beginners-EsploraLedShow2" };
93
+ final String [] notOkForUno = { "Firmataexamples-StandardFirmataWiFi" , "examples-04.Communication-MultiSerial" ,
94
+ "examples-09.USB-Keyboard-KeyboardLogout" , "examples-09.USB-Keyboard-KeyboardMessage" ,
95
+ "examples-09.USB-Keyboard-KeyboardReprogram" , "examples-09.USB-Keyboard-KeyboardSerial" ,
96
+ "examples-09.USB-KeyboardAndMouseControl" , "examples-09.USB-Mouse-ButtonMouseControl" ,
97
+ "examples-09.USB-Mouse-JoystickMouseControl" , };
96
98
if (key .startsWith ("Esploraexamples" ))
97
99
return false ;
100
+ if (key .startsWith ("TFTexamples-Esplora-EsploraTFTTemp" ))
101
+ return false ;
102
+
103
+ if (key .contains ("Firmata" ))
104
+ return false ;
98
105
if (Arrays .asList (notOkForUno ).contains (key ))
99
106
return false ;
100
107
return true ; // default everything is fine
101
108
}
102
109
103
110
private static boolean isExampleOkForLeonardo (String key ) {
104
- final String [] notOkForLeonardo = { "Esploraexamples-Beginners-EsploraJoystickMouse" };
111
+ final String [] notOkForLeonardo = { "Esploraexamples-Beginners-EsploraJoystickMouse" ,
112
+ "Esploraexamples-Experts-EsploraKart" , "Esploraexamples-Experts-EsploraTable" ,
113
+ "Firmataexamples-StandardFirmataWiFi" };
114
+ if (key .contains ("Firmata" ))
115
+ return false ;
116
+ if (key .startsWith ("TFTexamples-Esplora-EsploraTFTTemp" ))
117
+ return false ;
105
118
if (Arrays .asList (notOkForLeonardo ).contains (key ))
106
119
return false ;
107
120
return true ; // default everything is fine
0 commit comments