Versions in this module Expand all Collapse all v0 v0.0.6 Dec 15, 2023 v0.0.5 Dec 15, 2023 v0.0.4 Dec 15, 2023 Changes in this version + type BareCommand func(ctx *Context) error + func (cmd BareCommand) Run(ctx *Context) error + type Command interface + Run func(ctx *Context) error + type Context struct + ActualPlatform *cores.PlatformRelease + BuildOptionsJson string + BuildOptionsJsonPrevious string + BuildPath *paths.Path + BuildProperties *properties.Map + BuiltInLibrariesDirs *paths.Path + BuiltInToolsDirs paths.PathList + CanUseCachedTools bool + Clean bool + CompilationDatabase *builder.CompilationDatabase + CoreArchiveFilePath *paths.Path + CoreBuildCachePath *paths.Path + CoreBuildPath *paths.Path + CoreObjectsFiles paths.PathList + CustomBuildProperties []string + ExecutableSectionsSize ExecutablesFileSections + FQBN *cores.FQBN + HardwareDirs paths.PathList + IgnoreSketchFolderNameErrors bool + ImportedLibraries libraries.List + IncludeFolders paths.PathList + Jobs int + LibrariesBuildPath *paths.Path + LibrariesManager *librariesmanager.LibrariesManager + LibrariesObjectFiles paths.PathList + LibrariesResolutionResults map[string]LibraryResolutionResult + LibrariesResolver *librariesresolver.Cpp + LibraryDirs paths.PathList + LineOffset int + OnlyUpdateCompilationDatabase bool + OtherLibrariesDirs paths.PathList + PackageManager *packagemanager.Explorer + Progress ProgressStruct + ProgressCB rpc.TaskProgressCB + RequiredTools []*cores.ToolRelease + Sketch *sketch.Sketch + SketchBuildPath *paths.Path + SketchObjectFiles paths.PathList + SourceOverride map[string]string + Stderr io.Writer + Stdout io.Writer + TargetBoard *cores.Board + TargetPackage *cores.Package + TargetPlatform *cores.PlatformRelease + UseArduinoPreprocessor bool + UseCachedLibrariesResolution bool + Verbose bool + WarningsLevel string + WatchedLocations paths.PathList + func (ctx *Context) ExtractBuildOptions() *properties.Map + func (ctx *Context) Info(msg string) + func (ctx *Context) PushProgress() + func (ctx *Context) Warn(msg string) + func (ctx *Context) WriteStderr(data []byte) (int, error) + func (ctx *Context) WriteStdout(data []byte) (int, error) + type ExecutableSectionSize struct + MaxSize int + Name string + Size int + type ExecutablesFileSections []ExecutableSectionSize + func (s ExecutablesFileSections) ToRPCExecutableSectionSizeArray() []*rpc.ExecutableSectionSize + type LibraryResolutionResult struct + Library *libraries.Library + NotUsedLibraries []*libraries.Library + type ProgressStruct struct + Parent *ProgressStruct + Progress float32 + StepAmount float32 + func (p *ProgressStruct) AddSubSteps(steps int) + func (p *ProgressStruct) CompleteStep() + func (p *ProgressStruct) RemoveSubSteps() + type SourceFile struct + Origin interface{} + RelativePath *paths.Path + func MakeSourceFile(ctx *Context, origin interface{}, path *paths.Path) (*SourceFile, error) + func (f *SourceFile) DepfilePath(ctx *Context) *paths.Path + func (f *SourceFile) Equals(g *SourceFile) bool + func (f *SourceFile) ObjectPath(ctx *Context) *paths.Path + func (f *SourceFile) SourcePath(ctx *Context) *paths.Path + type UniqueSourceFileQueue []*SourceFile + func (queue *UniqueSourceFileQueue) Pop() *SourceFile + func (queue *UniqueSourceFileQueue) Push(value *SourceFile) + func (queue UniqueSourceFileQueue) Contains(target *SourceFile) bool + func (queue UniqueSourceFileQueue) Empty() bool