This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BUILD_OUTPUT_UF2

Build a binary in UF2 format

Type: bool

Help

Build a UF2 binary zephyr/zephyr.uf2 in the build directory.
The name of this file can be customized with CONFIG_KERNEL_BIN_NAME.

Direct dependencies

BUILD_OUTPUT_BIN

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At Kconfig.zephyr:407

Included via Kconfig:8

Menu path: (Top) → Build and Link Features → Build Options

config BUILD_OUTPUT_UF2
    bool "Build a binary in UF2 format"
    depends on BUILD_OUTPUT_BIN
    help
      Build a UF2 binary zephyr/zephyr.uf2 in the build directory.
      The name of this file can be customized with CONFIG_KERNEL_BIN_NAME.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)