Skip to content
This repository was archived by the owner on Jul 6, 2019. It is now read-only.

Platform Tree parser documentation

Vladimir Pouzanov edited this page Jul 15, 2014 · 3 revisions

Here's how PT generation for platformtree!() macro works.

  1. Parser converts the token stream to node::PlatformTree object. node::PlatformTree contains all the nodes for the PT and an additional name-based index.
  2. node::PlatformTree is passed to Builder::build().
  3. Builder verifies that top-level nodes are mcu, os and drivers.
  4. Builder calls attach for mcu node first.
Clone this wiki locally