Skip to content

Add debug command #567

Closed
Closed
@spoenemann

Description

@spoenemann

Feature Request

We are implementing a debugger for the Arduino Pro IDE. The debugger needs specific command line tools for the selected board. Currently we have hard-coded the paths to these tools for the Arduino Zero board, but of course we'd like to generalize this (arduino/arduino-pro-ide#185).

Could the CLI provide paths to the debugging tools when we query board details?

This is the list of required tools, along with the path we currently use for Arduino Zero:

  • gdb
    $Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-gdb
  • objdump
    $Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-objdump
  • openocd
    $Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7/bin/openocd
  • openocd scripts
    $Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7/share/openocd/scripts
  • openocd configuration
    $Arduino15/packages/arduino/hardware/samd/1.8.4/variants/arduino_zero/openocd_scripts/arduino_zero.cfg

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions