Skip to content

Commit

Permalink
Merge pull request #15 from tock/1.3
Browse files Browse the repository at this point in the history
Tie to release-1.3 kernel + small nits
  • Loading branch information
bradjc authored Jun 12, 2019
2 parents 8228baf + 060ded5 commit 98f6d1e
Show file tree
Hide file tree
Showing 11 changed files with 116 additions and 122 deletions.
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

0 comments on commit 98f6d1e

Please sign in to comment.