Пример #1
0
 def __init__(self):
     super(Debug, self).__init__(
         'debug',
         # Keep this in sync with the string in west-commands.yml.
         'flash and interactively debug a Zephyr application',
         dedent('''
         Connect to the board, program the flash, and start a
         debugging session.\n\n''') + desc_common('debug'),
         accepts_unknown_args=True)
Пример #2
0
 def __init__(self):
     super(Attach, self).__init__(
         'attach',
         # Keep this in sync with the string in west-commands.yml.
         'interactively debug a board',
         "Like \"west debug\", but doesn't reflash the program.\n\n" +
         desc_common('attach'),
         accepts_unknown_args=True)
     self.runner_key = 'debug-runner'  # in runners.yaml
Пример #3
0
 def __init__(self):
     super(Flash, self).__init__(
         'flash',
         # Keep this in sync with the string in west-commands.yml.
         'flash and run a binary on a board',
         'Permanently reprogram a board with a new binary.\n' +
         desc_common('flash'),
         accepts_unknown_args=True)
     self.runner_key = 'flash-runner'  # in runners.yaml
Пример #4
0
 def __init__(self):
     super(Attach, self).__init__(
         'attach',
         # Keep this in sync with the string in west-commands.yml.
         'interactively debug a board',
         dedent('''
         Like 'debug', this connects to the board and starts a debugging
         session, but it doesn't reflash the program on the board.\n\n''') +
         desc_common('attach'),
         accepts_unknown_args=True)
Пример #5
0
 def __init__(self):
     super(Debug, self).__init__(
         'debug',
         # Keep this in sync with the string in west-commands.yml.
         'flash and interactively debug a Zephyr application',
         dedent('''
         Connect to the board, flash the program, and start a
         debugging session. Use "west attach" instead to attach
         a debugger without reflashing.\n\n''') + desc_common('debug'),
         accepts_unknown_args=True)
     self.runner_key = 'debug-runner'  # in runners.yaml
Пример #6
0
    def __init__(self):
        super(DebugServer, self).__init__(
            'debugserver',
            # Keep this in sync with the string in west-commands.yml.
            'connect to board and launch a debug server',
            dedent('''
            Connect to the board and launch a debug server which accepts
            incoming connections for debugging the connected board.

            The debug server binds to a known port, and allows client software
            started elsewhere to connect to it and debug the running
            Zephyr image.\n\n''') + desc_common('debugserver'),
            accepts_unknown_args=True)