Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 30 additions & 30 deletions boards/hail-bootloader/Cargo.lock

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

8 changes: 4 additions & 4 deletions boards/hail-bootloader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ panic = "abort"
lto = true

[dependencies]
cortexm4 = { git = "https://github.com/tock/tock" }
capsules = { git = "https://github.com/tock/tock" }
kernel = { git = "https://github.com/tock/tock" }
sam4l = { git = "https://github.com/tock/tock" }
cortexm4 = { git = "https://github.com/tock/tock", tag = "release-1.3" }
capsules = { git = "https://github.com/tock/tock", tag = "release-1.3" }
kernel = { git = "https://github.com/tock/tock", tag = "release-1.3" }
sam4l = { git = "https://github.com/tock/tock", tag = "release-1.3" }
bootloader = { path = "../../bootloader" }

[build-dependencies]
Expand Down
6 changes: 2 additions & 4 deletions boards/hail-bootloader/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@ struct HailBootloader {
}

impl Platform for HailBootloader {
fn with_driver<F, R>(&self, driver_num: usize, f: F) -> R
fn with_driver<F, R>(&self, _driver_num: usize, f: F) -> R
where
F: FnOnce(Option<&kernel::Driver>) -> R,
{
// Bootloader does not support apps.
match driver_num {
_ => f(None),
}
f(None)
}
}

Expand Down
60 changes: 30 additions & 30 deletions boards/imix-bootloader/Cargo.lock

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

8 changes: 4 additions & 4 deletions boards/imix-bootloader/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ panic = "abort"
lto = true

[dependencies]
cortexm4 = { git = "https://github.com/tock/tock" }
capsules = { git = "https://github.com/tock/tock" }
kernel = { git = "https://github.com/tock/tock" }
sam4l = { git = "https://github.com/tock/tock" }
cortexm4 = { git = "https://github.com/tock/tock", tag = "release-1.3" }
capsules = { git = "https://github.com/tock/tock", tag = "release-1.3" }
kernel = { git = "https://github.com/tock/tock", tag = "release-1.3" }
sam4l = { git = "https://github.com/tock/tock", tag = "release-1.3" }
bootloader = { path = "../../bootloader" }

[build-dependencies]
Expand Down
6 changes: 2 additions & 4 deletions boards/imix-bootloader/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@ struct ImixBootloader {
}

impl Platform for ImixBootloader {
fn with_driver<F, R>(&self, driver_num: usize, f: F) -> R
fn with_driver<F, R>(&self, _driver_num: usize, f: F) -> R
where
F: FnOnce(Option<&kernel::Driver>) -> R,
{
// Bootloader does not support apps.
match driver_num {
_ => f(None),
}
f(None)
}
}

Expand Down
Loading