Options
All
  • Public
  • Public/Protected
  • All
Menu

Module buildTools/extensionToolchainHelpers

Index

Functions

checkSettingsPathValidity

  • checkSettingsPathValidity(path: string | boolean): boolean

checkToolchainPathForTool

  • checkToolchainPathForTool(toolPath: string | boolean, definition: BuildToolDefinition): string | boolean

compareVersions

getNewestToolchainVersion

getToolBasePath

  • return the xpm path for the specified tool e.g ...../bmd.stm32-for-vscode/@xpack-dev-tools/openocd

    Parameters

    • tool: BuildToolDefinition

      The tool for which the paths needs to be found

    • xpmPath: string

      The path to the xpm install location e.g. context.globalStoragePath

    Returns string

getToolVersionFolders

  • getToolVersionFolders(tool: BuildToolDefinition, xpmPath: string): Promise<[string, vscode.FileType][] | null>

isVersionFile

parseXPMVersionNumbers

validateArmToolchainPath

  • validateArmToolchainPath(armToolChainPath: string | boolean): string | false

validateXPMToolchainPath

  • validateXPMToolchainPath(tool: BuildToolDefinition, xpmPath: string): Promise<string | boolean>

Generated using TypeDoc