Movatterモバイル変換


[0]ホーム

URL:


builder

package
v1.3.1Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2025 License:GPL-3.0Imports:42Imported by:0

Details

Repository

github.com/arduino/arduino-cli

Links

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (FloatAbiCflag = "float-abi"FpuCflag      = "fpu")

nolint

View Source
var ErrSketchCannotBeLocatedInBuildPath =errors.New("sketch cannot be located in build path")

ErrSketchCannotBeLocatedInBuildPath fixdoc

Functions

This section is empty.

Types

typeBuilder

type Builder struct {// Progress of all various stepsProgress *progress.Struct// contains filtered or unexported fields}

Builder is a Sketch builder.

funcNewBuilder

func NewBuilder(ctxcontext.Context,sk *sketch.Sketch,boardBuildProperties *properties.Map,buildPath *paths.Path,optimizeForDebugbool,coreBuildCachePath *paths.Path,extraCoreBuildCachePaths paths.PathList,jobsint,customBuildProperties []string,hardwareDirs paths.PathList,librariesDirs paths.PathList,builtInLibrariesDirs *paths.Path,fqbn *fqbn.FQBN,cleanbool,sourceOverrides map[string]string,onlyUpdateCompilationDatabasebool,targetPlatform, buildPlatform *cores.PlatformRelease,useCachedLibrariesResolutionbool,librariesManager *librariesmanager.LibrariesManager,customLibraryDirs paths.PathList,stdout, stderrio.Writer, verbositylogger.Verbosity, warningsLevelstring,progressCBrpc.TaskProgressCB,toolEnv []string,) (*Builder,error)

NewBuilder creates a sketch Builder.

func (*Builder)Build

func (b *Builder) Build()error

Build fixdoc

func (*Builder)CompilerDiagnostics

func (b *Builder) CompilerDiagnostics()diagnostics.Diagnostics

CompilerDiagnostics returns the parsed compiler diagnostics

func (*Builder)ExecutableSectionsSize

func (b *Builder) ExecutableSectionsSize()ExecutablesFileSections

ExecutableSectionsSize fixdoc

func (*Builder)GetBuildPath

func (b *Builder) GetBuildPath() *paths.Path

GetBuildPath returns the build path

func (*Builder)GetBuildProperties

func (b *Builder) GetBuildProperties() *properties.Map

GetBuildProperties returns the build properties for running this build

func (*Builder)ImportedLibraries

func (b *Builder) ImportedLibraries()libraries.List

ImportedLibraries fixdoc

func (*Builder)Preprocess

func (b *Builder) Preprocess() ([]byte,error)

Preprocess fixdoc

func (*Builder)RunRecipe

func (b *Builder) RunRecipe(prefix, suffixstring, skipIfOnlyUpdatingCompilationDatabasebool)error

RunRecipe fixdoc

func (*Builder)RunRecipeWithPropsadded inv1.3.0

func (b *Builder) RunRecipeWithProps(prefix, suffixstring, buildProperties *properties.Map, skipIfOnlyUpdatingCompilationDatabasebool)error

typeExecutableSectionSize

type ExecutableSectionSize struct {Namestring `json:"name"`Sizeint    `json:"size"`MaxSizeint    `json:"max_size"`}

ExecutableSectionSize represents a section of the executable output file

typeExecutablesFileSections

type ExecutablesFileSections []ExecutableSectionSize

ExecutablesFileSections is an array of ExecutablesFileSection

func (ExecutablesFileSections)ToRPCExecutableSectionSizeArray

func (sExecutablesFileSections) ToRPCExecutableSectionSizeArray() []*rpc.ExecutableSectionSize

ToRPCExecutableSectionSizeArray transforms this array into a []*rpc.ExecutableSectionSize

Source Files

View all Source files

Directories

PathSynopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp