Inline code generation using Python or Jinja2 script snippets in any type of source file.
Cogeno, the inline code generation tool, processes Python or Jinja2 ‘snippets’ inlined in your source files. It can also access CMake build parameters and device tree information to generate source code automatically tailored and tuned to a specific project configuration.
Cogeno can be used, for example, to generate source code that creates and fills data structures, adapts programming logic, creates configuration-specific code fragments, and more.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.