Documentation ¶
Index ¶
- func Read(name, outPath string, params *ParamsType) error
- func ReadCbuildgen(name string, subsystem *SubsystemType) error
- func ReadCbuildgenIdx(name, outPath string, params *ParamsType) error
- type CbuildGenIdxType
- type CbuildGenType
- type CgenFilesType
- type CgenGroupsType
- type CgenPacksType
- type CgenType
- type GeneratorImportType
- type PackType
- type ParamsType
- type SubsystemIdxType
- type SubsystemType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
func Read(name, outPath string, params *ParamsType) error
func ReadCbuildgen ¶
func ReadCbuildgen(name string, subsystem *SubsystemType) error
func ReadCbuildgenIdx ¶
func ReadCbuildgenIdx(name, outPath string, params *ParamsType) error
Types ¶
type CbuildGenIdxType ¶
type CbuildGenIdxType struct { BuildGenIdx struct { GeneratedBy string `yaml:"generated-by"` Generators []struct { ID string `yaml:"id"` Output string `yaml:"output"` Device string `yaml:"device"` Board string `yaml:"board"` ProjectType string `yaml:"project-type"` CbuildGens []struct { CbuildGen string `yaml:"cbuild-gen"` Project string `yaml:"project"` Configuration string `yaml:"configuration"` ForProjectPart string `yaml:"for-project-part"` Output string `yaml:"output"` } `yaml:"cbuild-gens"` } `yaml:"generators"` } `yaml:"build-gen-idx"` }
IDX input file
type CbuildGenType ¶
type CbuildGenType struct { BuildGen struct { GeneratedBy string `yaml:"generated-by"` Solution string `yaml:"solution"` Project string `yaml:"project"` Context string `yaml:"context"` Compiler string `yaml:"compiler"` Board string `yaml:"board"` Device string `yaml:"device"` Processor struct { Fpu string `yaml:"fpu"` Endian string `yaml:"endian"` Trustzone string `yaml:"trustzone"` Core string `yaml:"core"` // Dcore aus pdsc } `yaml:"processor"` Packs []struct { Pack string `yaml:"pack"` Path string `yaml:"path"` } `yaml:"packs"` Optimize string `yaml:"optimize"` Debug string `yaml:"debug"` Misc struct { ASM []string `yaml:"ASM"` C []string `yaml:"C"` CPP []string `yaml:"CPP"` Link []string `yaml:"Link"` } `yaml:"misc"` Define []string `yaml:"define"` AddPath []string `yaml:"add-path"` OutputDirs struct { Intdir string `yaml:"intdir"` Outdir string `yaml:"outdir"` Rtedir string `yaml:"rtedir"` } `yaml:"output-dirs"` Output []struct { Type string `yaml:"type"` File string `yaml:"file"` } `yaml:"output"` Components []struct { Component string `yaml:"component"` Condition string `yaml:"condition,omitempty"` FromPack string `yaml:"from-pack"` SelectedBy string `yaml:"selected-by"` Files []struct { File string `yaml:"file"` Category string `yaml:"category"` Attr string `yaml:"attr"` Version string `yaml:"version"` } `yaml:"files,omitempty"` } `yaml:"components"` Linker struct { Script string `yaml:"script"` Regions string `yaml:"regions"` } `yaml:"linker"` Groups []struct { Group string `yaml:"group"` Files []struct { File string `yaml:"file"` Category string `yaml:"category"` } `yaml:"files"` } `yaml:"groups"` ConstructedFiles []struct { File string `yaml:"file"` Category string `yaml:"category"` } `yaml:"constructed-files"` Licenses []struct { License string `yaml:"license"` LicenseAgreement string `yaml:"license-agreement,omitempty"` Packs []struct { Pack string `yaml:"pack"` } `yaml:"packs"` Components []struct { Component string `yaml:"component"` } `yaml:"components"` } `yaml:"licenses"` } `yaml:"build-gen"` }
Sub input file
type CgenFilesType ¶
type CgenFilesType struct {
File string `yaml:"file,omitempty"`
}
type CgenGroupsType ¶
type CgenGroupsType struct { Group string `yaml:"group,omitempty"` Files []CgenFilesType `yaml:"files,omitempty"` }
type CgenPacksType ¶
type CgenPacksType struct {
Pack string `yaml:"pack,omitempty"`
}
type CgenType ¶
type CgenType struct {
GeneratorImport GeneratorImportType `yaml:"generator-import,omitempty"`
}
bridge generator output file
type GeneratorImportType ¶
type GeneratorImportType struct { ForDevice string `yaml:"for-device,omitempty"` ForBoard string `yaml:"for-board,omitempty"` Packs []CgenPacksType `yaml:"packs,omitempty"` // do not set if no new packs Define []string `yaml:"define,omitempty"` AddPath []string `yaml:"add-path,omitempty"` Groups []CgenGroupsType `yaml:"groups,omitempty"` }
type ParamsType ¶
type ParamsType struct { Board string Device string OutPath string ProjectType string Subsystem []SubsystemType }
type SubsystemIdxType ¶
type SubsystemType ¶
Click to show internal directories.
Click to hide internal directories.