Documentation
¶
Index ¶
- Constants
- Variables
- func IncludesFinderWithRegExp(source string) string
- func PreprocessSketch(ctx *types.Context) error
- func PreprocessSketchWithArduinoPreprocessor(ctx *types.Context) error
- func PrintRingNameIfDebug(ctx *types.Context, command types.Command)
- func ResolveLibrary(ctx *types.Context, header string) *libraries.Library
- func RunBuilder(ctx *types.Context) error
- func RunParseHardware(ctx *types.Context) error
- func RunPreprocess(ctx *types.Context) error
- type AddAdditionalEntriesToContext
- type Builder
- type ContainerBuildOptions
- type ContainerFindIncludes
- type ContainerSetupHardwareToolsLibsSketchAndProps
- type CreateBuildOptionsMap
- type ExportProjectCMake
- type FailIfBuildPathEqualsSketchPath
- type FailIfImportedLibraryIsWrong
- type LibrariesLoader
- type LoadPreviousBuildOptionsMap
- type MergeSketchWithBootloader
- type Preprocess
- type PrintUsedAndNotUsedLibraries
- type PrintUsedLibrariesIfVerbose
- type RecipeByPrefixSuffixRunner
- type StoreBuildOptionsMap
- type UnusedCompiledLibrariesRemover
- type WarnAboutArchIncompatibleLibraries
- type WipeoutBuildPathIfBuildOptionsChanged
Constants ¶
View Source
const DEFAULT_DEBUG_LEVEL = 5
View Source
const DEFAULT_WARNINGS_LEVEL = "none"
Variables ¶
View Source
var INCLUDE_REGEXP = regexp.MustCompile("(?ms)^\\s*#[ \t]*include\\s*[<\"](\\S+)[\">]")
Functions ¶
func PreprocessSketch ¶
func RunBuilder ¶
func RunParseHardware ¶
func RunPreprocess ¶
Types ¶
type AddAdditionalEntriesToContext ¶
type AddAdditionalEntriesToContext struct{}
type ContainerBuildOptions ¶
type ContainerBuildOptions struct{}
type ContainerFindIncludes ¶
type ContainerFindIncludes struct{}
type ContainerSetupHardwareToolsLibsSketchAndProps ¶
type ContainerSetupHardwareToolsLibsSketchAndProps struct{}
type CreateBuildOptionsMap ¶
type CreateBuildOptionsMap 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 LibrariesLoader ¶
type LibrariesLoader struct{}
type LoadPreviousBuildOptionsMap ¶
type LoadPreviousBuildOptionsMap struct{}
type MergeSketchWithBootloader ¶
type MergeSketchWithBootloader struct{}
type Preprocess ¶
type Preprocess struct{}
type PrintUsedAndNotUsedLibraries ¶
type PrintUsedAndNotUsedLibraries struct { // Was there an error while compiling the sketch? SketchError bool }
type PrintUsedLibrariesIfVerbose ¶
type PrintUsedLibrariesIfVerbose struct{}
type RecipeByPrefixSuffixRunner ¶
type StoreBuildOptionsMap ¶
type StoreBuildOptionsMap struct{}
type UnusedCompiledLibrariesRemover ¶
type UnusedCompiledLibrariesRemover struct{}
type WarnAboutArchIncompatibleLibraries ¶
type WarnAboutArchIncompatibleLibraries struct{}
type WipeoutBuildPathIfBuildOptionsChanged ¶
type WipeoutBuildPathIfBuildOptionsChanged struct{}
Source Files
¶
- add_additional_entries_to_context.go
- builder.go
- container_build_options.go
- container_find_includes.go
- container_setup.go
- create_build_options_map.go
- create_cmake_rule.go
- ctags_target_file_saver.go
- fail_if_buildpath_equals_sketchpath.go
- fail_if_imported_library_is_wrong.go
- includes_finder_with_regexp.go
- libraries_loader.go
- load_previous_build_options.go
- merge_sketch_with_bootloader.go
- preprocess_sketch.go
- print_used_and_not_used_libraries.go
- print_used_libraries_if_verbose.go
- recipe_runner.go
- store_build_options_map.go
- unused_compiled_libraries_remover.go
- warn_about_arch_incompatible_libraries.go
- wipeout_build_path_if_build_options_changed.go
Click to show internal directories.
Click to hide internal directories.