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_BIN

Build a binary in BIN format

Type: bool

Help

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

Defaults

  • n

  • n

  • y

  • y

  • y

  • y

  • n

  • n

  • n

  • n

  • n

  • n

  • n

  • n

  • y

Kconfig definitions

At boards/arm/qemu_cortex_m3/Kconfig.defconfig:5

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_QEMU_CORTEX_M3

At boards/arm/qemu_cortex_r5/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_QEMU_CORTEX_R5

At boards/arm64/fvp_base_revc_2xaemv8a/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default y
    depends on BOARD_FVP_BASE_REVC_2XAEMV8A

At boards/arm64/fvp_baser_aemv8r/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default y
    depends on BOARD_FVP_BASER_AEMV8R

At boards/arm64/qemu_cortex_a53/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default y
    depends on BOARD_QEMU_CORTEX_A53

At boards/arm64/xenvm/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default y
    depends on BOARD_XENVM

At boards/nios2/qemu_nios2/Kconfig.defconfig:5

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_QEMU_NIOS2

At boards/posix/native_posix/Kconfig.defconfig:5

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_NATIVE_POSIX

At boards/posix/nrf52_bsim/Kconfig.defconfig:5

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_NRF52_BSIM

At boards/riscv/qemu_riscv32/Kconfig.defconfig:3

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n

At boards/riscv/qemu_riscv64/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_QEMU_RISCV64

At boards/x86/qemu_x86/Kconfig.defconfig:5

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_QEMU_X86

At boards/x86/qemu_x86/Kconfig.defconfig:41

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_QEMU_X86_LAKEMONT

At boards/xtensa/qemu_xtensa/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_BIN
    bool
    default n
    depends on BOARD_QEMU_XTENSA

At Kconfig.zephyr:373

Included via Kconfig:8

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

config BUILD_OUTPUT_BIN
    bool "Build a binary in BIN format"
    default y
    help
      Build a "raw" binary zephyr/zephyr.bin 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.)