Crate zephyr_build

Source

Functions§

  • Capture bool, numeric and string kconfig values in a ‘kconfig’ module. This is a little simplistic, and will make the entries numeric if they look like numbers. Ideally, this would be built on the types of the values, but that will require more introspection.
  • Generate cfg directives for each of the nodes in the generated device tree.
  • Export boolean Kconfig entries. This must happen in any crate that wishes to access the configuration settings.
  • Determine if rustfmt is in the path, and can be excecuted. Returns false on any kind of error.