Skip to content

Commit

Permalink
try restructuring Cargo workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeechey committed Oct 10, 2024
1 parent faf8802 commit 47de0b8
Show file tree
Hide file tree
Showing 12 changed files with 661 additions and 161 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ jobs:
working-directory: boards
- run: cargo test --verbose
working-directory: boards
- run: cargo build --verbose
working-directory: config
- run: cargo test --verbose
working-directory: config
2 changes: 2 additions & 0 deletions boards/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target = "thumbv7em-none-eabihf"
178 changes: 26 additions & 152 deletions Cargo.lock → boards/Cargo.lock

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

10 changes: 4 additions & 6 deletions Cargo.toml → boards/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[workspace]
members = [
"boards/*",
"lib/*",
"config",
]
[workspace]
members = [
"test/*",
]
resolver = "2"
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ critical-section = "1.1"
embedded-storage = "0.3.1"
static_cell = "2"

hyped_io_stm32l476rg = { path = "../../lib/io/stm32l476rg" }
hyped_sensors = { path = "../../lib/sensors" }
hyped_io_stm32l476rg = { path = "../../../lib/io/stm32l476rg" }
hyped_sensors = { path = "../../../lib/sensors" }

[profile.release]
debug = 2
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 47de0b8

Please sign in to comment.