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_HEX

Build a binary in HEX format

Type: bool

Help

Build an Intel HEX binary zephyr/zephyr.hex in the build directory.
The name of this file can be customized with CONFIG_KERNEL_BIN_NAME.

Defaults

  • y

  • y

Kconfig definitions

At boards/arm/teensy4/Kconfig.defconfig:9

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config BUILD_OUTPUT_HEX
    bool
    default y
    depends on BOARD_TEENSY40 || BOARD_TEENSY41

At soc/arm/nordic_nrf/Kconfig.defconfig:33

Included via Kconfig:8Kconfig.zephyr:27

Menu path: (Top)

config BUILD_OUTPUT_HEX
    bool
    default y
    depends on SOC_FAMILY_NRF

At Kconfig.zephyr:410

Included via Kconfig:8

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

config BUILD_OUTPUT_HEX
    bool "Build a binary in HEX format"
    help
      Build an Intel HEX binary zephyr/zephyr.hex 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.)