@@ -31,23 +31,6 @@ const (
31
31
esp8266Package = "esp8266"
32
32
)
33
33
34
- var (
35
- // this is temporary... it will be removed when
36
- // https://github.com/arduino/arduino-cloud-cli/pull/74/files#diff-d891696d5c17ea0eecc6b1c23802cbaf553379e701c5e0e1ff23ee0d26d2877cR27-R39
37
- // will be merged
38
- compatibleArduinoFQBN = []string {
39
- "arduino:samd:nano_33_iot" ,
40
- "arduino:samd:mkrwifi1010" ,
41
- "arduino:mbed_nano:nanorp2040connect" ,
42
- "arduino:mbed_portenta:envie_m7" ,
43
- "arduino:samd:mkr1000" ,
44
- "arduino:samd:mkrgsm1400" ,
45
- "arduino:samd:mkrnb1500" ,
46
- "arduino:samd:mkrwan1310" ,
47
- "arduino:samd:mkrwan1300" ,
48
- }
49
- )
50
-
51
34
// FQBNInfo contains the details of a FQBN.
52
35
type FQBNInfo struct {
53
36
Value string `json:"fqbn"`
@@ -90,7 +73,8 @@ func filterFQBN(ls []FQBNInfo) []FQBNInfo {
90
73
filtered = append (filtered , fqbn )
91
74
92
75
case arduinoPackage :
93
- for _ , b := range compatibleArduinoFQBN {
76
+ compatible := append (cryptoFQBN , loraFQBN ... )
77
+ for _ , b := range compatible {
94
78
if fqbn .Value == b {
95
79
filtered = append (filtered , fqbn )
96
80
break
0 commit comments