Documentation ¶
Index ¶
- Constants
- Variables
- func GCCPreprocRunner(ctx *types.Context, sourceFilePath string, targetFilePath string, ...) error
- func GCCPreprocRunnerForDiscoveringIncludes(ctx *types.Context, sourceFilePath string, targetFilePath string, ...) ([]byte, error)
- func GeneratePreprocPatternFromCompile(compilePattern string) string
- func IncludesFinderWithRegExp(ctx *types.Context, source string) string
- func PrintRingNameIfDebug(ctx *types.Context, command types.Command)
- func ResolveLibrary(ctx *types.Context, header string) *types.Library
- func RunBuilder(ctx *types.Context) error
- func RunParseHardwareAndDumpBuildProperties(ctx *types.Context) error
- func RunPreprocess(ctx *types.Context) error
- type AddAdditionalEntriesToContext
- type AddBuildBoardPropertyIfMissing
- type AddMissingBuildPropertiesFromParentPlatformTxtFiles
- type AdditionalSketchFilesCopier
- type ArduinoPreprocessorRunner
- type Builder
- type CTagsRunner
- type CTagsTargetFileSaver
- type ContainerAddPrototypes
- type ContainerBuildOptions
- type ContainerFindIncludes
- type ContainerMergeCopySketchFiles
- type ContainerSetupHardwareToolsLibsSketchAndProps
- type CreateBuildOptionsMap
- type DumpBuildProperties
- type EnsureBuildPathExists
- type ExportProjectCMake
- type FailIfBuildPathEqualsSketchPath
- type FailIfImportedLibraryIsWrong
- type FilterSketchSource
- type GenerateBuildPathIfMissing
- type HardwareLoader
- type LibrariesLoader
- type LoadPreviousBuildOptionsMap
- type LoadVIDPIDSpecificProperties
- type MergeSketchWithBootloader
- type OutputCodeCompletions
- type ParseHardwareAndDumpBuildProperties
- type PlatformKeysRewriteLoader
- type Preprocess
- type PreprocessSketch
- type PreprocessSketchArduino
- type PrintPreprocessedSource
- type PrintUsedAndNotUsedLibraries
- type PrintUsedLibrariesIfVerbose
- type PrototypesAdder
- type ReadFileAndStoreInContext
- type RecipeByPrefixSuffixRunner
- type RewriteHardwareKeys
- type SetCustomBuildProperties
- type SetupBuildProperties
- type SketchLoader
- type SketchSaver
- type SketchSourceMerger
- type StoreBuildOptionsMap
- type TargetBoardResolver
- type ToolsLoader
- type UnusedCompiledLibrariesRemover
- type WarnAboutArchIncompatibleLibraries
- type WarnAboutPlatformRewrites
- type WipeoutBuildPathIfBuildOptionsChanged
Constants ¶
View Source
const DEFAULT_BUILD_CORE = "arduino"
View Source
const DEFAULT_DEBUG_LEVEL = 5
View Source
const DEFAULT_SOFTWARE = "ARDUINO"
View Source
const DEFAULT_WARNINGS_LEVEL = "none"
Variables ¶
View Source
var ADDITIONAL_FILE_VALID_EXTENSIONS = map[string]bool{".h": true, ".c": true, ".hpp": true, ".hh": true, ".cpp": true, ".s": true}
View Source
var ADDITIONAL_FILE_VALID_EXTENSIONS_NO_HEADERS = map[string]bool{".c": true, ".cpp": true, ".s": true}
View Source
var DOTAEXTENSION = map[string]bool{".a": true}
View Source
var INCLUDE_REGEXP = regexp.MustCompile("(?ms)^\\s*#[ \t]*include\\s*[<\"](\\S+)[\">]")
View Source
var LIBRARY_CATEGORIES = map[string]bool{ "Display": true, "Communication": true, "Signal Input/Output": true, "Sensors": true, "Device Control": true, "Timing": true, "Data Storage": true, "Data Processing": true, "Other": true, "Uncategorized": true, }
View Source
var LIBRARY_MANDATORY_PROPERTIES = []string{constants.LIBRARY_NAME, constants.LIBRARY_VERSION, constants.LIBRARY_AUTHOR, constants.LIBRARY_MAINTAINER}
View Source
var LIBRARY_NOT_SO_MANDATORY_PROPERTIES = []string{constants.LIBRARY_SENTENCE, constants.LIBRARY_PARAGRAPH, constants.LIBRARY_URL}
View Source
var MAIN_FILE_VALID_EXTENSIONS = map[string]bool{".ino": true, ".pde": true}
Functions ¶
func GCCPreprocRunner ¶
func RunBuilder ¶
func RunPreprocess ¶
Types ¶
type AddAdditionalEntriesToContext ¶
type AddAdditionalEntriesToContext struct{}
type AddBuildBoardPropertyIfMissing ¶
type AddBuildBoardPropertyIfMissing struct{}
type AddMissingBuildPropertiesFromParentPlatformTxtFiles ¶
type AddMissingBuildPropertiesFromParentPlatformTxtFiles struct{}
type AdditionalSketchFilesCopier ¶
type AdditionalSketchFilesCopier struct{}
type ArduinoPreprocessorRunner ¶
type ArduinoPreprocessorRunner struct{}
type CTagsRunner ¶
type CTagsRunner struct{}
type CTagsTargetFileSaver ¶
type ContainerAddPrototypes ¶
type ContainerAddPrototypes struct{}
type ContainerBuildOptions ¶
type ContainerBuildOptions struct{}
type ContainerFindIncludes ¶
type ContainerFindIncludes struct{}
type ContainerMergeCopySketchFiles ¶
type ContainerMergeCopySketchFiles struct{}
type ContainerSetupHardwareToolsLibsSketchAndProps ¶
type ContainerSetupHardwareToolsLibsSketchAndProps struct{}
type CreateBuildOptionsMap ¶
type CreateBuildOptionsMap struct{}
type DumpBuildProperties ¶
type DumpBuildProperties struct{}
type EnsureBuildPathExists ¶
type EnsureBuildPathExists struct{}
type ExportProjectCMake ¶
type ExportProjectCMake struct { // Was there an error while compiling the sketch? SketchError bool }
type FailIfBuildPathEqualsSketchPath ¶
type FailIfBuildPathEqualsSketchPath struct{}
type FailIfImportedLibraryIsWrong ¶
type FailIfImportedLibraryIsWrong struct{}
type FilterSketchSource ¶
type GenerateBuildPathIfMissing ¶
type GenerateBuildPathIfMissing struct{}
type HardwareLoader ¶
type HardwareLoader struct{}
type LibrariesLoader ¶
type LibrariesLoader struct{}
type LoadPreviousBuildOptionsMap ¶
type LoadPreviousBuildOptionsMap struct{}
type LoadVIDPIDSpecificProperties ¶
type LoadVIDPIDSpecificProperties struct{}
type MergeSketchWithBootloader ¶
type MergeSketchWithBootloader struct{}
type OutputCodeCompletions ¶
type OutputCodeCompletions struct{}
type ParseHardwareAndDumpBuildProperties ¶
type ParseHardwareAndDumpBuildProperties struct{}
type PlatformKeysRewriteLoader ¶
type PlatformKeysRewriteLoader struct{}
type Preprocess ¶
type Preprocess struct{}
type PreprocessSketch ¶
type PreprocessSketch struct{}
type PreprocessSketchArduino ¶
type PreprocessSketchArduino struct{}
type PrintPreprocessedSource ¶
type PrintPreprocessedSource struct{}
type PrintUsedAndNotUsedLibraries ¶
type PrintUsedAndNotUsedLibraries struct { // Was there an error while compiling the sketch? SketchError bool }
type PrintUsedLibrariesIfVerbose ¶
type PrintUsedLibrariesIfVerbose struct{}
type PrototypesAdder ¶
type PrototypesAdder struct{}
type RewriteHardwareKeys ¶
type RewriteHardwareKeys struct{}
type SetCustomBuildProperties ¶
type SetCustomBuildProperties struct{}
type SetupBuildProperties ¶
type SetupBuildProperties struct{}
type SketchLoader ¶
type SketchLoader struct{}
type SketchSaver ¶
type SketchSaver struct{}
type SketchSourceMerger ¶
type SketchSourceMerger struct{}
type StoreBuildOptionsMap ¶
type StoreBuildOptionsMap struct{}
type TargetBoardResolver ¶
type TargetBoardResolver struct{}
type ToolsLoader ¶
type ToolsLoader struct{}
type UnusedCompiledLibrariesRemover ¶
type UnusedCompiledLibrariesRemover struct{}
type WarnAboutArchIncompatibleLibraries ¶
type WarnAboutArchIncompatibleLibraries struct{}
type WarnAboutPlatformRewrites ¶
type WarnAboutPlatformRewrites struct{}
type WipeoutBuildPathIfBuildOptionsChanged ¶
type WipeoutBuildPathIfBuildOptionsChanged struct{}
Source Files ¶
- add_additional_entries_to_context.go
- add_build_board_property_if_missing.go
- add_missing_build_properties_from_parent_platform_txt_files.go
- additional_sketch_files_copier.go
- builder.go
- container_add_prototypes.go
- container_build_options.go
- container_find_includes.go
- container_merge_copy_sketch_files.go
- container_setup.go
- create_build_options_map.go
- create_cmake_rule.go
- ctags_runner.go
- ctags_target_file_saver.go
- dump_build_properties.go
- ensure_buildpath_exists.go
- fail_if_buildpath_equals_sketchpath.go
- fail_if_imported_library_is_wrong.go
- filter_sketch_source.go
- gcc_preproc_runner.go
- generate_buildpath_if_missing.go
- hardware_loader.go
- includes_finder_with_regexp.go
- libraries_loader.go
- load_previous_build_options.go
- load_vid_pid_specific_properties.go
- merge_sketch_with_bootloader.go
- platform_keys_rewrite_loader.go
- preprocess_sketch.go
- print_preprocessed_source.go
- print_used_and_not_used_libraries.go
- print_used_libraries_if_verbose.go
- prototypes_adder.go
- read_file_and_store_in_context.go
- recipe_runner.go
- resolve_library.go
- rewrite_hardware_keys.go
- set_custom_build_properties.go
- setup_build_properties.go
- sketch_loader.go
- sketch_saver.go
- sketch_source_merger.go
- store_build_options_map.go
- target_board_resolver.go
- tools_loader.go
- unused_compiled_libraries_remover.go
- warn_about_arch_incompatible_libraries.go
- warn_about_platform_rewrites.go
- wipeout_build_path_if_build_options_changed.go
Directories ¶
Path | Synopsis |
---|---|
Package main implements a simple gRPC client that demonstrates how to use gRPC-Go libraries to perform unary, client streaming, server streaming and full duplex RPCs.
|
Package main implements a simple gRPC client that demonstrates how to use gRPC-Go libraries to perform unary, client streaming, server streaming and full duplex RPCs. |
proto
Package proto is a generated protocol buffer package.
|
Package proto is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.