def METHOD_NAME(cls, parser: argparse.ArgumentParser) -> None:
    parser.add_argument('--arch',
                        default='auto',
                        choices=('auto', 'arm', 'riscv', 'xtensa'),
                        help='Target architecture. Set to "auto" to select the architecture '
                             'based on CONFIG_ARCH value')
    parser.add_argument('--config',
                        default=DEFAULT_T32_CONFIG,
                        type=Path,
                        help='Override TRACE32 configuration file path. Can be a relative path '
                             'to T32_DIR environment variable, or an absolute path')
    parser.add_argument('--startup-args',
                        nargs='*',
                        help='Arguments to pass to the start-up script')
    parser.add_argument('--timeout',
                        default=60,
                        type=int,
                        help='Timeout, in seconds, of the flash operation')