eric6/MicroPython/MicrobitDevices.py

changeset 7548
e1c6a2e32a38
parent 7360
9190402e4505
child 7549
fcfbb9e94471
equal deleted inserted replaced
7547:21b0534faebc 7548:e1c6a2e32a38
189 # BBC micro:bit is not ready or not mounted 189 # BBC micro:bit is not ready or not mounted
190 E5MessageBox.critical( 190 E5MessageBox.critical(
191 self.microPython, 191 self.microPython,
192 self.tr("Flash MicroPython Firmware"), 192 self.tr("Flash MicroPython Firmware"),
193 self.tr( 193 self.tr(
194 'The BBC micro:bit is not ready for flashing. See the' 194 '<p>The BBC micro:bit is not ready for flashing. Follow'
195 ' <a href="https://microbit.org/guide/firmware/">' 195 ' these instructions.</p>'
196 'micro:bit web site</a> for details.' 196 '<ul>'
197 '<li>unplug USB cable and any batteries</li>'
198 '<li>keep RESET pressed an plug USB cable back in</li>'
199 '<li>a drive called MAINTENANCE should be available</li>'
200 '</ul>'
201 '<p>See the '
202 '<a href="https://microbit.org/guide/firmware/">'
203 'micro:bit web site</a> for details.</p>'
197 )) 204 ))
198 else: 205 else:
199 downloadsPath = QStandardPaths.standardLocations( 206 downloadsPath = QStandardPaths.standardLocations(
200 QStandardPaths.DownloadLocation)[0] 207 QStandardPaths.DownloadLocation)[0]
201 firmware = E5FileDialog.getOpenFileName( 208 firmware = E5FileDialog.getOpenFileName(

eric ide

mercurial