ato.yaml
Config Reference¶
ato-version
¶
The compiler version with which the project was developed.
This is used by the compiler to ensure the code in this project is compatible with the compiler version.
Default value: current compiler version
Type: str
Example usage:
paths.src
¶
Project source code directory
Default value: elec/src
Type: str
Example usage:
paths.layout
¶
Project layout directory where KiCAD projects are stored and searched for
Default value: elec/layout
Type: str
Example usage:
dependencies
¶
Default value: []
or no dependencies
Type:
Field | Type | Description | Default |
---|---|---|---|
name |
str |
The name of the dependency | No default and required |
version_spec |
str |
The version specifier for the dependency | Latest tagged version or commit on main |
link_broken |
bool |
Whether the link to the upstream version is maintained / broken | false |
path |
str |
The path to the dependency within this project | .ato/modules/<name> |
Example usage:
builds
¶
Default value: {}
or no build targets
Type: dict
(see "builds.name" etc... below for details)
builds.entry
¶
Entry point or root node for the build-target. Everything that exists within this module will be built as part of this build-target
Default value: Required, no default
Type: str
Example usage:
builds.targets
¶
A list of targets' names to build after updating the layout
Default value: ["__default__"]
, which is a special value.
Type: list[str]
Example usage:
builds.exclude_targets
¶
A list of targets' names to exclude.
Applied after targets
are specified. This makes it useful to exclude
targets that aren't relevant to a specific build - especially in CI,
which typically builds all targets.
Excluding the mfg-data
target is useful, for example, for CI build targets that represent a
module, but not a board you'd manufacture.
Default value: []
, don't actively exclude any targets
Type: list[str]
Example usage: