Skip to content

Commit

Permalink
gpio extender
Browse files Browse the repository at this point in the history
  • Loading branch information
dotcypress committed Apr 14, 2024
1 parent 03864bf commit d084003
Show file tree
Hide file tree
Showing 20 changed files with 98,696 additions and 112,293 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
/extender/target
fp-info-cache
upico-backups
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"rust-analyzer.check.allTargets": false,
"rust-analyzer.linkedProjects": [
"./Cargo.toml",
"./extender/Cargo.toml"
]
}
154 changes: 104 additions & 50 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ edition = "2021"
[dependencies]
clap = "4.4.6"
rmp-serde = "1.1.2"
rusb = "0.9"
serde = { version = "1.0.188", features = ["serde_derive"] }

[features]
Expand Down
14 changes: 14 additions & 0 deletions extender/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[target.thumbv6m-none-eabi]
# runner = "elf2uf2-rs -d"
runner = "probe-run --chip RP2040"

rustflags = [
"-C", "link-arg=--nmagic",
"-C", "link-arg=-Tlink.x",
"-C", "link-arg=-Tdefmt.x",
"-C", "inline-threshold=5",
"-C", "no-vectorize-loops",
]

[build]
target = "thumbv6m-none-eabi"
Loading

0 comments on commit d084003

Please sign in to comment.