Created
June 12, 2020 16:24
-
-
Save zmanian/f6000ae8a51db81f22df862a7cf774d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
export PATH=$PATH:$HOME/.cargo/bin | |
git clone https://github.com/iqlusioninc/usbarmory.rs | |
cd usbarmory.rs | |
git checkout develop | |
cd host/usbc | |
cargo install --path . | |
cd ../usd && cargo install --path . | |
cargo install --git https://github.com/japaric/flip-lld | |
rustup component add llvm-tools-preview | |
rustup target add armv7a-none-eabi | |
cd ../../firmware | |
COLD_BOOT=1 cargo run --example blinky | |
unplug USB device and re-plug it | |
COLD_BOOT=1 cargo run --example rtfm-8-usb | |
in a new window: usbc hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment