Build and configuration system

The Bridle build and configuration system is based on the one from Zephyr, with some additions.

Zephyr’s build and configuration system

Zephyr’s build and configuration system uses the following building blocks as a foundation:

  • CMake, the cross-platform build system generator.

  • Kconfig, a powerful configuration system also used in the Linux kernel.

  • Devicetree, a hardware description language that is used to describe the hardware that Bridle is to run on.

Since the build and configuration system used by Bridle comes from Zephyr, references to the original Zephyr documentation are provided here in order to avoid duplication. See the following links for information about the different building blocks mentioned above:

Bridle additions

Bridle adds some functionality on top of the Zephyr build and configuration system. Those additions are automatically included into the Zephyr build system using a Zephyr Build Configuration CMake packages.

You must be aware of these additions when you start writing your own Bridle applications.

  • The Bridle provides an additional boilerplate.cmake that is automatically included when using the Zephyr CMake package in the CMakeLists.txt file of your application:

    find_package(Zephyr HINTS $ENV{ZEPHYR_BASE})
    
  • The Bridle allows you to create custom build type files instead of using a single prj.conf file.