package
0.0.0-20240903202602-66ff1bab00bd
Repository: https://github.com/arduino/arduino-fwuploader.git
Documentation: pkg.go.dev

# Functions

CheckFlags runs a basic check, errors if the flags are not defined.
DownloadRequiredToolsForBoard is an helper function that downloads the correct tool to flash a board, it returns the path of the downloaded tool.
GetBoard is an helper function useful to get the IndexBoard, the struct that contains all the infos to make all the operations possible.
InitIndexes downloads and parses the package_index.json and firmwares_index.json.

# Variables

AdditionalFirmwareIndexURLs is a list of additional module_firmware_index.json URLs that are loaded together with the main index.
AdditionalPackageIndexURLs is a list of additional package_index.json URLs that are loaded together with the main index.