Configuration
The Avocado config defines your project from board support to provisioning, and everything in between.
Precedence of supplied values
The Avocado CLI can be configured three ways, from highest to lowest precedence:
- CLI arguments
- Environment variables
- Configuration files
Configuration files
The Avocado CLI uses a single configuration file to define your project settings, build configurations, dependencies, and provisioning profiles.
By default, the CLI looks for a configuration file named avocado.toml
in the current working directory. This can be configured to use a different file name or location.
For detailed information about all available configuration options, see the config schema.
Examples
Example configuration files are available in the Avocado OS repository. These examples demonstrate common configuration patterns for different use cases and target platforms.