@@ -72,6 +72,7 @@ def __init__(self):
7272 # PlugIns
7373 self .plugins = FramePlugIns (self )
7474 self .plugins .label .configure (font = FONT_CATEGORY )
75+ self .plugins .mp_debug_btn .configure (command = self ._debug_device )
7576 self .plugins .mp_version_btn .configure (command = self ._get_version )
7677 self .plugins .mp_version_btn .pack_forget ()
7778 self .plugins .mp_structure_btn .configure (command = self ._get_structure )
@@ -229,6 +230,7 @@ def _disable_buttons(self) -> None:
229230 self .information .memory_info_btn .configure (state = 'disabled' )
230231 self .information .mac_info_btn .configure (state = 'disabled' )
231232 self .information .flash_status_btn .configure (state = 'disabled' )
233+ self .plugins .mp_debug_btn .configure (state = 'disabled' )
232234 self .plugins .mp_version_btn .configure (state = 'disabled' )
233235 self .plugins .mp_structure_btn .configure (state = 'disabled' )
234236 self .erase_device .erase_btn .configure (state = 'disabled' )
@@ -244,6 +246,7 @@ def _enable_buttons(self) -> None:
244246 self .information .memory_info_btn .configure (state = 'normal' )
245247 self .information .mac_info_btn .configure (state = 'normal' )
246248 self .information .flash_status_btn .configure (state = 'normal' )
249+ self .plugins .mp_debug_btn .configure (state = 'normal' )
247250 self .plugins .mp_version_btn .configure (state = 'normal' )
248251 self .plugins .mp_structure_btn .configure (state = 'normal' )
249252 self .erase_device .erase_btn .configure (state = 'normal' )
@@ -413,6 +416,9 @@ def _run_serial_task(self, info_text: str, command: Callable[[SerialCommandRunne
413416 runner = SerialCommandRunner ()
414417 command (runner )
415418
419+ def _debug_device (self ) -> None :
420+ pass
421+
416422 def _get_version (self ) -> None :
417423 """
418424 Triggers a task to get the MicroPython version and process its output.
0 commit comments