Skip to content

Commit

Permalink
zephyr-build: devicetree: Move augments into module
Browse files Browse the repository at this point in the history
The hard-coded augments in augment.rs are no long used, so remove them
all, and move the config version into this file to avoid needing a
separate module, just for the trait.

Signed-off-by: David Brown <[email protected]>
  • Loading branch information
d3zd3z committed Oct 18, 2024
1 parent afd5498 commit 6447759
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 496 deletions.
3 changes: 1 addition & 2 deletions zephyr-build/src/devicetree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ use ordmap::OrdMap;
use std::{cell::RefCell, collections::BTreeMap, path::Path, rc::Rc};

mod augment;
pub mod config;
mod ordmap;
mod output;
mod parse;

pub use augment::Augment;
pub use augment::{Augment, load_augments};

pub struct DeviceTree {
/// The root of the tree.
Expand Down
Loading

0 comments on commit 6447759

Please sign in to comment.