Options
All
  • Public
  • Public/Protected
  • All
Menu

Module configuration/openOCDConfig

Index

Functions

changeProgrammer

  • changeProgrammer(programmer: string): Promise<void>
  • Function for reading the current file and only changing the programmer in that configuration file.

    Parameters

    • programmer: string

      the string for the openocd programmer.

    Returns Promise<void>

changeProgrammerDialogue

  • changeProgrammerDialogue(programmer?: string): Promise<void>
  • Opens a dialogue to change the programmer in the openocd.cfg file.

    Parameters

    • Optional programmer: string

      (optional) if given the programmer will be selected without a dialogue

    Returns Promise<void>

create

read

  • read(): Promise<string>

readOrCreateConfigFile

write

  • write(configuration: string): Promise<void>
  • Write the openocd configuration to the workspace

    Parameters

    • configuration: string

      openocd configuration file

    Returns Promise<void>

Generated using TypeDoc