turing-machines / tpi

CLI tool to control your Turing Pi 2 board
https://docs.turingpi.com/docs/turing-pi2-tpi-cli
Apache License 2.0
29 stars 3 forks source link

Advanced subcommand #4

Closed svenrademakers closed 1 year ago

svenrademakers commented 1 year ago

as a user i want to be able to boot a given raspberry pi as a Mass Storage device so i can alter OS settings.

We want to add an additional command that contains the following commands:

+#[derive(ValueEnum, Clone, PartialEq)]
+pub enum ModeCmd {
+    /// Clear any advanced mode
+    Normal,
+    /// reboots supported compute modules and expose its eMMC storage as a mass
+    /// storage device
+    MSD,
+    /// Setting the recovery pin high will cause the module to halt after its
+    /// respective bootROM code. A manual restart is required.
+    Recovery,
+}

Acceptance Criteria

svenrademakers commented 1 year ago

fixed by f5bc9029fe75b038ac3e300ef61fb4e17cc7838c