Build to PI
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
parent
ae6e5c86f5
commit
d91d3b013e
4 changed files with 7 additions and 25 deletions
2
.cargo/config
Normal file
2
.cargo/config
Normal file
|
@ -0,0 +1,2 @@
|
|||
[target.armv7-unknown-linux-gnueabihf]
|
||||
linker = "arm-none-linux-gnueabihf-gcc"
|
24
Cargo.lock
generated
24
Cargo.lock
generated
|
@ -71,7 +71,6 @@ name = "beonew-5"
|
|||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"evdev",
|
||||
"evdev-rs",
|
||||
"femtovg",
|
||||
"glutin",
|
||||
"glutin-winit",
|
||||
|
@ -285,29 +284,6 @@ dependencies = [
|
|||
"thiserror",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "evdev-rs"
|
||||
version = "0.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9812d5790fb6fcce449333eb6713dad335e8c979225ed98755c84a3987e06dba"
|
||||
dependencies = [
|
||||
"bitflags 1.3.2",
|
||||
"evdev-sys",
|
||||
"libc",
|
||||
"log",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "evdev-sys"
|
||||
version = "0.2.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "14ead42b547b15d47089c1243d907bcf0eb94e457046d3b315a26ac9c9e9ea6d"
|
||||
dependencies = [
|
||||
"cc",
|
||||
"libc",
|
||||
"pkg-config",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "fdeflate"
|
||||
version = "0.3.4"
|
||||
|
|
|
@ -17,5 +17,4 @@ image = { version = "0.24.0", default-features = false, features = [
|
|||
"jpeg",
|
||||
"png",
|
||||
] }
|
||||
evdev-rs = "0.6.1"
|
||||
nix = { version = "0.28.0", features = ["event", "fs"] }
|
||||
|
|
5
topi.sh
Normal file
5
topi.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
cargo build --target armv7-unknown-linux-gnueabihf
|
||||
scp target/armv7-unknown-linux-gnueabihf/debug/beonew-5 alarm@192.168.10.163:~/
|
||||
|
Loading…
Reference in a new issue