178 |
178 |
179 @return documentation URL of the device |
179 @return documentation URL of the device |
180 @rtype str |
180 @rtype str |
181 """ |
181 """ |
182 return Preferences.getMicroPython("MicroPythonDocuUrl") |
182 return Preferences.getMicroPython("MicroPythonDocuUrl") |
183 |
183 |
|
184 def getFirmwareUrl(self): |
|
185 """ |
|
186 Public method to get the device firmware download URL. |
|
187 |
|
188 @return firmware download URL of the device |
|
189 @rtype str |
|
190 """ |
|
191 return Preferences.getMicroPython("MicroPythonFirmwareUrl") |
|
192 |
184 def addDeviceMenuEntries(self, menu): |
193 def addDeviceMenuEntries(self, menu): |
185 """ |
194 """ |
186 Public method to add device specific entries to the given menu. |
195 Public method to add device specific entries to the given menu. |
187 |
196 |
188 @param menu reference to the context menu |
197 @param menu reference to the context menu |