Skip to content

Commit

Permalink
sdcard_userspace: userspace bin of sdcard
Browse files Browse the repository at this point in the history
  • Loading branch information
svenrademakers committed May 31, 2024
1 parent 08887d3 commit 1e50841
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bin/sdcard_userspace.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use bmc_installer::turing_pi::{led, read_from_sdcard, upgrade_bmc};

fn main() -> anyhow::Result<()> {
let led_tx = led::led_blink_thread();
let (bootloader, rootfs) = read_from_sdcard()?;
upgrade_bmc(rootfs, bootloader, || (), led_tx)
}

0 comments on commit 1e50841

Please sign in to comment.