globals

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MainFileValidExtension is the extension that must be used for files in new sketches
	MainFileValidExtension = ".ino"

	// MainFileValidExtensions lists valid extensions for a sketch file
	MainFileValidExtensions = map[string]bool{
		MainFileValidExtension: true,

		".pde": true,
	}

	// AdditionalFileValidExtensions lists any file extension the builder considers as valid
	AdditionalFileValidExtensions = map[string]bool{
		".h":    true,
		".c":    true,
		".hpp":  true,
		".hh":   true,
		".cpp":  true,
		".cxx":  true,
		".cc":   true,
		".S":    true,
		".adoc": true,
		".md":   true,
		".json": true,
		".tpp":  true,
		".ipp":  true,
	}

	// SourceFilesValidExtensions lists valid extensions for source files (no headers).
	// If a platform do not provide a compile recipe for a specific file extension, this
	// map provides the equivalent extension to use as a fallback.
	SourceFilesValidExtensions = map[string]string{
		".c":   "",
		".cpp": "",
		".cxx": ".cpp",
		".cc":  ".cpp",
		".S":   "",
	}

	// HeaderFilesValidExtensions lists valid extensions for header files
	HeaderFilesValidExtensions = map[string]bool{
		".h":   true,
		".hpp": true,
		".hh":  true,
	}

	// DefaultIndexURL is the default index url
	DefaultIndexURL = "https://downloads.arduino.cc/packages/package_index.tar.bz2"

	// LibrariesIndexURL is the URL where to get the libraries index.
	LibrariesIndexURL, _ = url.Parse("https://downloads.arduino.cc/libraries/library_index.tar.bz2")

	// LibrariesIndexResource is the IndexResource to get the libraries index.
	LibrariesIndexResource = resources.IndexResource{
		URL:                          LibrariesIndexURL,
		EnforceSignatureVerification: true,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy