eric6/MicroPython/MicroPythonDevices.py

changeset 7328
e2d85ef3fadb
parent 7295
cf50045a7c0f
child 7360
9190402e4505
--- a/eric6/MicroPython/MicroPythonDevices.py	Sat Nov 02 18:21:01 2019 +0100
+++ b/eric6/MicroPython/MicroPythonDevices.py	Sat Nov 02 19:24:46 2019 +0100
@@ -368,3 +368,22 @@
         @rtype str
         """
         return ""
+    
+    def hasFirmwareUrl(self):
+        """
+        Public method to check, if the device has a configured firmware
+        download URL.
+        
+        @return flag indicating a configured firmware download URL
+        @rtype bool
+        """
+        return bool(self.getFirmwareUrl())
+    
+    def getFirmwareUrl(self):
+        """
+        Public method to get the device firmware download URL.
+        
+        @return firmware download URL of the device
+        @rtype str
+        """
+        return ""

eric ide

mercurial