We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 807c671 commit b0b83dcCopy full SHA for b0b83dc
README.md
@@ -4,11 +4,25 @@ in rust
4
5
## Quick start
6
7
-> docker pull ragnaroek/rust-raspberry:1.39.0
8
->
9
-> ./build.sh
+The easiest way to build this sample is with [Cross](https://github.com/rust-embedded/cross).
10
11
-Then scp the release file to your raspi.
+```
+cross build --release --target armv7-unknown-linux-gnueabihf
12
+
13
+> That assumes Raspberry Pi 2/3/4 running a 32 bit kernel
14
15
+After the build finishes, copy it to your Raspberry Pi
16
17
18
+scp target/armv7-unknown-linux-gnueabihf/release/raspi-oled user@ip:/home/user
19
20
21
+Then SSH to your Pi and run it
22
23
24
+sudo ./raspi-oled
25
26
27
## Example
28
build.sh
0 commit comments