sdk

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallIDF

func InstallIDF(version string, out io.Writer) (string, error)

InstallIDF will install the specified version of the ESP-IDF SDK.

func InstallToolchain

func InstallToolchain(version string, out io.Writer) (string, error)

InstallToolchain will install the esp-idf toolchain.

Types

type SDK

type SDK struct {
	Name    string // e.g. esp-idf, tools
	Version string // e.g. v5.3
	Path    string
}

SDK represents an installed SDK.

func List

func List() ([]SDK, error)

List will return all installed SDKs.

func Remove added in v0.16.0

func Remove(version string, out io.Writer) ([]SDK, error)

Remove will remove all SDKs installed for the specified version and return the removed ones. Removing the version currently linked into a build tree requires a reinstall before that tree can be used again.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL