Zephyr
NOTE
Support for Zephyr is still experimental. Configurations are validated, but firmware cannot be built yet.
Zephyr is a Linux Foundation real-time operating system with support across chip vendors. ESPHome builds Zephyr as the framework of these platforms:
Each platform page lists its variants and default boards, with an example configuration. This page covers the options these platforms share. nRF52 also builds with Zephyr, but it has its own options and does not use the ones on this page.
Configuration Variables
Section titled “Configuration Variables”These go directly under the platform key (stm32:):
- variant (Required, string): The chip to build for. See the platform’s own page for its variants.
- board (Optional, string): The Zephyr board to build for, e.g.
nucleo_c5a3zg. Defaults to the variant’s default board. - framework (Optional, mapping): Which SDK to build against. See
framework. - toolchain (Optional, string):
zephyr, the only one.
Framework
Section titled “Framework”- type (Optional, string): The SDK.
zephyr(mainline Zephyr), the only one. - version (Optional, string): The SDK version, in that SDK’s own numbering. Defaults to
recommended, the SDK’s recommended version, currently4.5.0for mainline Zephyr, which is also the oldest accepted.