Initial Commit

This commit is contained in:
2025-03-30 10:58:46 -07:00
commit e59b3f3a5f
16 changed files with 547 additions and 0 deletions

21
flight/src/lib.rs Normal file
View File

@@ -0,0 +1,21 @@
use crate::hal::initialize;
use crate::logger::setup_logger;
use anyhow::Result;
use log::info;
mod hal;
mod logger;
pub fn run() -> Result<()> {
setup_logger()?;
info!(
"Project Nautilus Flight Software {}",
env!("CARGO_PKG_VERSION")
);
let hal = initialize()?;
drop(hal);
Ok(())
}