eric6/MicroPython/CircuitPythonFirmwareSelectionDialog.py

changeset 8093
436e4de91f12
parent 8079
331e717c458e
child 8094
e861d733b471
--- a/eric6/MicroPython/CircuitPythonFirmwareSelectionDialog.py	Wed Feb 10 15:43:30 2021 +0100
+++ b/eric6/MicroPython/CircuitPythonFirmwareSelectionDialog.py	Wed Feb 10 18:39:19 2021 +0100
@@ -29,22 +29,24 @@
     """
     Class implementing a dialog to enter the firmware flashing data.
     """
+    #
+    # The Boards list is built with data extracted from:
+    # - https://github.com/microsoft/uf2-samdx1
+    # - https://github.com/adafruit/Adafruit_nRF52_Bootloader
+    #
     Boards = (
         # Adafruit boards
         ("--- Adafruit ---", ""),
         ("BadgeLC", "BADGELCBOOT"),
         ("CLUE nRF52840 Express", "CLUEBOOT"),
-        ("Circuit Playground Bluefruit", "CPLAYBTBOOT"),
         ("Circuit Playground Express", "CPLAYBOOT"),
+        ("Circuit Playground nRF52840", "CPLAYBTBOOT"),
         ("Feather Arcade D51", "ARCADE-D5"),
-        ("Feather Bluefruit Sense", "FTHR840BOOT"),
-        ("Feather M0 Adalogger", "FEATHERBOOT"),
-        ("Feather M0 Basic", "FEATHERBOOT"),
+        ("Feather M0", "FEATHERBOOT"),
         ("Feather M0 Express", "FEATHERBOOT"),
-        ("Feather M0 RFM69", "FEATHERBOOT"),
-        ("Feather M0 RFM9x", "FEATHERBOOT"),
         ("Feather M4 Express", "FEATHERBOOT"),
         ("Feather nRF52840 Express", "FTHR840BOOT"),
+        ("Feather nRF52840 Sense", "FTHR840BOOT"),
         ("Gemma M0", "GEMMABOOT"),
         ("Grand Central M4 Express", "GCM4BOOT"),
         ("Hallowing M0", "HALLOWBOOT"),
@@ -54,8 +56,9 @@
         ("ItsyBitsy M4 Express", "ITSYM4BOOT"),
         ("ItsyBitsy nRF52840 Express", " ITSY840BOOT"),
         ("Metro M0 Express", "METROBOOT"),
+        ("Metro M4 AirLift", "METROM4BOOT"),
         ("Metro M4 Express", "METROM4BOOT"),
-        ("Metro M4 Express AirLift", "METROM4BOOT"),
+        ("Metro nRF52840 Express", "METR840BOOT"),
         ("NeoTrelis M4 Express", "TRELM4BOOT"),
         ("PyBadge", "BADGEBOOT"),
         ("PyGamer", "PYGAMERBOOT"),
@@ -71,6 +74,25 @@
         ("crickit", "CRICKITBOOT"),
         ("pIRKey M0", "PIRKEYBOOT"),
         
+        # Arduino boards
+        ("--- Arduino ---", ""),
+        ("MKR1000", "MKR1000"),
+        ("MKR1300", "MKR1300"),
+        ("MKRZero", "MKRZEROBOOT"),
+        ("Nano 33 BLE", "NANO33BOOT"),
+        ("Zero", "ZEROBOOT"),
+        
+        # Particle boards
+        ("--- Particle ---", ""),
+        ("Argon", "ARGONBOOT  "),
+        ("Boron", "BORONBOOT  "),
+        ("Xenon", "XENONBOOT  "),
+        
+        # Seed boards
+        ("--- Seeed Studio ---", ""),
+        ("Grove Zero", "Grove Zero"),
+        ("Seeduino XIAO", "Arduino"),
+        
         # SparkFun boards
         ("--- SparkFun ---", ""),
         ("Qwiic Micro", "QwiicMicro"),
@@ -80,24 +102,37 @@
         ("RedBoard Turbo", "TURBOBOOT"),
         ("Pro nRF52840 Mini", "NRF52BOOT"),
         
-        # Seed boards
-        ("--- Seeed Studio ---", ""),
-        ("Grove Zero", "Grove Zero"),
-        ("Seeduino XIAO", "Arduino"),
-        
         # other boards we know about
-        (QCoreApplication.translate(
-            "CircuitPythonFirmwareSelectionDialog",
-            "--- Others ---"), ""),
-        ("Arduino MKR1300", "MKR1300"),
-        ("Arduino MKRZero", "MKRZEROBOOT"),
+        ("--- {0} ---".format(
+            QCoreApplication.translate("CircuitPythonFirmwareSelectionDialog",
+                                       "Others")
+        ), ""),
+        ("ARAMCON Badge 2019", "ARAMBOOT"),
+        ("AtelierDuMaker NRF52840 Breakout", "ADM840BOOT"),
+        ("BlueMicro", "BLUEMICRO"),
+        ("Capable Robot Programmable USB Hub", "USBHUBBOOT"),
         ("Eitech Robotics", "ROBOTICS"),
+        ("ElectronicCats Bast BLE", "BASTBLE"),
         ("Generic Corp. SAMD21 Board", "SAMD21"),
         ("Generic Corp. SAME54 Board", "SAME54"),
-        ("Mini SAM M0", "MINISAMBOOT"),
+        ("IkigaiSense Vita nRF52840", "ISVITABoot"),
+        ("MakerDiary MDK nRF52840 USB Dongle", "MDK840DONGL"),
+        ("MakerDiary nRF52840 M.2 Module", "nRF52840M2"),
+        ("MakerDiary Pitaya Go", "PITAYAGO"),
         ("Mini SAM M4", "MINISAMBOOT"),
-        ("Robo HAT MM1", "ROBOM0BOOT"),
-        ("Robo HAT MM1 M4", "ROBOM4BOOT"),
+        ("Nice Keyboards nice!nano", "NICENANO"),
+        ("OHS2020 Badge", "BADGEBOOT"),
+        ("PewPew", "PEWBOOT"),
+        ("Raytac MDBT50Q-RX", "MDBT50QBOOT"),
+        ("Robotics Masters Robo HAT MM1", "ROBOM0BOOT"),
+        ("Robotics Masters Robo HAT MM1 M4", "ROBOM4BOOT"),
+        ("Watterott Wattuino RC", "RCBOOT"),
+        ("Waveshare nRF52840 Eval", "WS52840EVK"),
+        ("XinaBox CC03", "CC03"),
+        ("XinaBox CS11", "CS11"),
+        ("dadamachines automat", "AUTOMAT"),
+        ("eduSense senseBox MCU", "SENSEBOX"),
+        ("maholli SAM32", "SAM32BOOT"),
     )
     
     def __init__(self, parent=None):

eric ide

mercurial