46 self.tr("CircuitPython Firmware Files (*.uf2);;" |
46 self.tr("CircuitPython Firmware Files (*.uf2);;" |
47 "All Files (*)")) |
47 "All Files (*)")) |
48 |
48 |
49 self.bootPicker.setMode(E5PathPickerModes.DirectoryShowFilesMode) |
49 self.bootPicker.setMode(E5PathPickerModes.DirectoryShowFilesMode) |
50 |
50 |
|
51 self.__manualMarker = "<manual>" |
51 boards = ( |
52 boards = ( |
52 ("", ""), # indicator for no selection |
53 ("", ""), # indicator for no selection |
53 |
54 |
|
55 # Adafruit boards |
|
56 ("--- Adafruit ---", ""), |
|
57 ("CLUE nRF52840 Express", "CLUEBOOT"), |
|
58 ("Circuit Playground Bluefruit", "CPLAYBTBOOT"), |
54 ("Circuit Playground Express", "CPLAYBOOT"), |
59 ("Circuit Playground Express", "CPLAYBOOT"), |
|
60 ("Feather Bluefruit Sense", "FTHR840BOOT"), |
|
61 ("Feather M0 Adalogger", "FEATHERBOOT"), |
|
62 ("Feather M0 Basic", "FEATHERBOOT"), |
55 ("Feather M0 Express", "FEATHERBOOT"), |
63 ("Feather M0 Express", "FEATHERBOOT"), |
|
64 ("Feather M0 RFM69", "FEATHERBOOT"), |
|
65 ("Feather M0 RFM9x", "FEATHERBOOT"), |
56 ("Feather M4 Express", "FEATHERBOOT"), |
66 ("Feather M4 Express", "FEATHERBOOT"), |
|
67 ("Feather nRF52840 Express", "FTHR840BOOT"), |
57 ("Gemma M0", "GEMMABOOT"), |
68 ("Gemma M0", "GEMMABOOT"), |
58 ("Grand Central M4 Express", "GCM4BOOT"), |
69 ("Grand Central M4 Express", "GCM4BOOT"), |
|
70 ("Hallowing M4 Express", "HALLOM4BOOT"), |
59 ("ItsyBitsy M0 Express", "ITSYBOOT"), |
71 ("ItsyBitsy M0 Express", "ITSYBOOT"), |
60 ("ItsyBitsy M4 Express", "ITSYM4BOOT"), |
72 ("ItsyBitsy M4 Express", "ITSYM4BOOT"), |
|
73 ("ItsyBitsy nRF52840 Express", " ITSY840BOOT"), |
61 ("Metro M0 Express", "METROBOOT"), |
74 ("Metro M0 Express", "METROBOOT"), |
62 ("Metro M4 Express", "METROM4BOOT"), |
75 ("Metro M4 Express", "METROM4BOOT"), |
|
76 ("Metro M4 Express AirLift", "METROM4BOOT"), |
63 ("NeoTrelis M4 Express", "TRELM4BOOT"), |
77 ("NeoTrelis M4 Express", "TRELM4BOOT"), |
|
78 ("PyBadge", "BADGEBOOT"), |
|
79 ("PyGamer", "PYGAMERBOOT"), |
|
80 ("PyPortal", "PORTALBOOT"), |
|
81 ("PyPortal Pynt", "PORTALBOOT"), |
|
82 ("PyPortal Titano", "PORTALBOOT"), |
|
83 ("PyRuler", "TRINKETBOOT"), |
64 ("Trinket M0", "TRINKETBOOT"), |
84 ("Trinket M0", "TRINKETBOOT"), |
65 |
85 |
66 ("Manual Select", "<manual>"), |
86 # SparkFun boards |
|
87 ("--- SparkFun ---", ""), |
|
88 ("Qwiic Micro", "QwiicMicro"), |
|
89 ("SAMD51 Thing Plus", "51THINGBOOT"), |
|
90 ("RedBoard Turbo", "TURBOBOOT"), |
|
91 ("Pro nRF52840 Mini", "NRF52BOOT"), |
|
92 |
|
93 (self.tr("Manual Select"), self.__manualMarker), |
67 ) |
94 ) |
68 for boardName, bootVolume in boards: |
95 for boardName, bootVolume in boards: |
69 self.boardComboBox.addItem(boardName, bootVolume) |
96 self.boardComboBox.addItem(boardName, bootVolume) |
70 |
97 |
71 msh = self.minimumSizeHint() |
98 msh = self.minimumSizeHint() |