Movatterモバイル変換


[0]ホーム

URL:


instance

package
v0.35.3Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License:GPL-3.0Imports:5Imported by:0

Details

Repository

github.com/arduino/arduino-cli

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcCreateAndInit

func CreateAndInit() *rpc.Instance

CreateAndInit return a new initialized instance.If Create fails the CLI prints an error and exits sinceto execute further operations a valid Instance is mandatory.If Init returns errors they're printed only.

funcCreateAndInitWithProfile

func CreateAndInitWithProfile(profileNamestring, sketchPath *paths.Path) (*rpc.Instance, *rpc.Profile)

CreateAndInitWithProfile returns a new initialized instance using the given profile of the given sketch.If Create fails the CLI prints an error and exits since to execute further operations a valid Instance is mandatory.If Init returns errors they're printed only.

funcInit

func Init(instance *rpc.Instance)

Init initializes instance by loading installed libraries and platforms.In case of loading failures return a list of errors for eachplatform or library that we failed to load.Package and library indexes files are automatically updated if theCLI is run for the first time.

funcInitWithProfile

func InitWithProfile(instance *rpc.Instance, profileNamestring, sketchPath *paths.Path) *rpc.Profile

InitWithProfile initializes instance by loading libraries and platforms specified in the given profile of the given sketch.In case of loading failures return a list of errors for each platform or library that we failed to load.Required Package and library indexes files are automatically downloaded.

Types

This section is empty.

Source Files

View all Source files

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