Skip to content

Commit

Permalink
updat default feature
Browse files Browse the repository at this point in the history
  • Loading branch information
dotcypress committed Apr 15, 2024
1 parent 25ec493 commit 04c6764
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
command: install
args: --git https://github.com/cross-rs/cross cross
- name: R-01 Build
run: cross build --release --target=riscv64gc-unknown-linux-gnu
run: cross build --release --target=riscv64gc-unknown-linux-gnu --no-default-features --features r01
- name: Copy R-01 binary
run : cp -f ./target/riscv64gc-unknown-linux-gnu/release/upico upico
- name: Compress R-01 Build
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rusb = "0.9"
serde = { version = "1.0.188", features = ["serde_derive"] }

[features]
default = ["r01"]
default = ["cm4"]
r01 = []
cm4 = []
a06 = []
Expand Down
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh

cp -f upico /usr/local/bin/
chmod +x /usr/local/bin/upico
cp -f upico.service /etc/systemd/system/
systemctl enable upico
systemctl start upico
Expand Down

0 comments on commit 04c6764

Please sign in to comment.