--- a/eric6/MicroPython/MicroPythonWidget.py Sun Jan 31 17:47:01 2021 +0100 +++ b/eric6/MicroPython/MicroPythonWidget.py Sun Jan 31 17:47:55 2021 +0100 @@ -388,12 +388,15 @@ def isMicrobit(self): """ Public method to check, if the connected/selected device is a - BBC micro:bit. + BBC micro:bit or Calliope mini. @return flag indicating a micro:bit device rtype bool """ - if self.__device and "micro:bit" in self.__device.deviceName(): + if self.__device and ( + "micro:bit" in self.__device.deviceName() or + "Calliope" in self.__device.deviceName() + ): return True return False @@ -1539,8 +1542,7 @@ # abort silently return - url = self.__device.getFirmwareUrl() - e5App().getObject("UserInterface").launchHelpViewer(url) + self.__device.downloadFirmware() @pyqtSlot() def __manageIgnored(self):