@@ -13,28 +13,24 @@ protected Class<Platform> enumClass() {
1313 public enum Platform {
1414 AUTO ,
1515 ARDUINO , // FIXME: not multithreaded
16- NATIVE ("Native" , true ),
17- NRF52 ("nRF52" , false ),
18- RP2040 ("Rp2040" , true ),
19- LINUX ("Linux" , true ),
20- MAC ("Darwin" , true ),
21- ZEPHYR ("Zephyr" , true ),
22- RIOT ("RIOT" , true ),
23- FLEXPRET ("FlexPRET" , true ),
24- WINDOWS ("Windows" , true );
16+ NATIVE ("Native" ),
17+ NRF52 ("nRF52" ),
18+ RP2040 ("Rp2040" ),
19+ LINUX ("Linux" ),
20+ MAC ("Darwin" ),
21+ ZEPHYR ("Zephyr" ),
22+ RIOT ("RIOT" ),
23+ FLEXPRET ("FlexPRET" ),
24+ WINDOWS ("Windows" );
2525
2626 final String cMakeName ;
2727
28- private final boolean multiThreaded ;
29-
3028 Platform () {
3129 this .cMakeName = this .toString ();
32- this .multiThreaded = true ;
3330 }
3431
35- Platform (String cMakeName , boolean isMultiThreaded ) {
32+ Platform (String cMakeName ) {
3633 this .cMakeName = cMakeName ;
37- this .multiThreaded = isMultiThreaded ;
3834 }
3935
4036 /** Return the name in lower case. */
@@ -43,15 +39,6 @@ public String toString() {
4339 return this .name ().toLowerCase ();
4440 }
4541
46- /** Get the CMake name for the platform. */
47- public String getcMakeName () {
48- return this .cMakeName ;
49- }
50-
51- public boolean isMultiThreaded () {
52- return this .multiThreaded ;
53- }
54-
5542 public Platform getDefault () {
5643 return Platform .AUTO ;
5744 }
0 commit comments