We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ef4f6c2 + 0beecd4 commit 71fa11cCopy full SHA for 71fa11c
command/ota/generate.go
@@ -26,6 +26,27 @@ import (
26
inota "github.com/arduino/arduino-cloud-cli/internal/ota"
27
)
28
29
+
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
50
// Generate takes a .bin file and generates a .ota file.
51
func Generate(binFile string, outFile string, fqbn string) error {
52
0 commit comments