Skip to content

Commit 9db2450

Browse files
committed
Code clean
1 parent 71fa11c commit 9db2450

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

command/ota/generate.go

-20
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,6 @@ import (
2727
)
2828

2929

30-
var (
31-
arduinoVendorID = "2341"
32-
arduinoFqbnToPID = map[string]string{
33-
"arduino:samd:nano_33_iot": "8057",
34-
"arduino:samd:mkr1000": "804E",
35-
"arduino:samd:mkrgsm1400": "8052",
36-
"arduino:samd:mkrnb1500": "8055",
37-
"arduino:samd:mkrwifi1010": "8054",
38-
"arduino:mbed_nano:nanorp2040connect": "005E",
39-
"arduino:mbed_portenta:envie_m7": "025B",
40-
"arduino:mbed_nicla:nicla_vision": "025F",
41-
"arduino:mbed_opta:opta": "0064",
42-
"arduino:mbed_giga:giga": "0266",
43-
"arduino:esp32:nano_nora": "0070",
44-
"arduino:renesas_uno:unor4wifi": "1002",
45-
}
46-
esp32MagicNumberPart1 = "4553"
47-
esp32MagicNumberPart2 = "5033"
48-
)
49-
5030
// Generate takes a .bin file and generates a .ota file.
5131
func Generate(binFile string, outFile string, fqbn string) error {
5232

0 commit comments

Comments
 (0)