368 " mounting it).</li>" |
368 " mounting it).</li>" |
369 "<li>Select the firmware file to be flashed and click the" |
369 "<li>Select the firmware file to be flashed and click the" |
370 " flash button.</li>" |
370 " flash button.</li>" |
371 "</ol>" |
371 "</ol>" |
372 ), |
372 ), |
|
373 "show_all": True, |
373 "firmware": "CircuitPython", |
374 "firmware": "CircuitPython", |
374 }, |
375 }, |
375 |
376 |
376 "circuitpython_rp2040": { |
377 "circuitpython_rp2040": { |
377 "volumes": { |
378 "volumes": { |
637 "<p>Follow the appropriate instructions below to set <b>one</b>" |
640 "<p>Follow the appropriate instructions below to set <b>one</b>" |
638 " board into 'bootloader' mode. Press <b>Refresh</b> when ready." |
641 " board into 'bootloader' mode. Press <b>Refresh</b> when ready." |
639 "</p>" |
642 "</p>" |
640 ) |
643 ) |
641 for boardType in SupportedUF2Boards: |
644 for boardType in SupportedUF2Boards: |
642 htmlText += "<hr/>" + SupportedUF2Boards[boardType]["instructions"] |
645 if SupportedUF2Boards[boardType]["show_all"]: |
|
646 htmlText += ( |
|
647 "<hr/>" + |
|
648 SupportedUF2Boards[boardType]["instructions"] |
|
649 ) |
643 self.infoEdit.setHtml(htmlText) |
650 self.infoEdit.setHtml(htmlText) |
644 |
651 |
645 def __showSpecificInstructions(self, devices): |
652 def __showSpecificInstructions(self, devices): |
646 """ |
653 """ |
647 Private method to show instructions for resetting devices to bootloader |
654 Private method to show instructions for resetting devices to bootloader |