From 2233185f9ce1b96eae424ecd50f39c1c23498517 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Nov 2022 06:33:10 +0000 Subject: [PATCH 1/3] Bump cortex-m-rtic from 1.0.0 to 1.1.3 Bumps [cortex-m-rtic](https://github.com/rtic-rs/cortex-m-rtic) from 1.0.0 to 1.1.3. - [Release notes](https://github.com/rtic-rs/cortex-m-rtic/releases) - [Changelog](https://github.com/rtic-rs/cortex-m-rtic/blob/master/CHANGELOG.md) - [Commits](https://github.com/rtic-rs/cortex-m-rtic/compare/v1.0.0...v1.1.3) --- updated-dependencies: - dependency-name: cortex-m-rtic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2dfbb55e..44670b5c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -298,9 +298,9 @@ dependencies = [ [[package]] name = "cortex-m-rtic" -version = "1.0.0" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daae9c453d0d5b467ebcdeae7aba537cb45a7de899930ad09f01c8dc42aa531f" +checksum = "c6b82f1c39acd6c3a35c2013b6110c20f5bc534522791fabadeed49ccada2dce" dependencies = [ "bare-metal 1.0.0", "cortex-m 0.7.4", @@ -313,9 +313,9 @@ dependencies = [ [[package]] name = "cortex-m-rtic-macros" -version = "1.0.0" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba355d1639cf8df7c0658f01bd8952d11d49a029309118787eb54afc47a6cf8" +checksum = "9e8e9645ef54bec1cf70ac33e9bf9566e6507ab5b41ae6baf3735662194e8607" dependencies = [ "proc-macro-error", "proc-macro2", @@ -1036,9 +1036,9 @@ checksum = "fb8b0b822d1a366470b9cea83a1d4e788392db763539dc4ba022bcc787fece82" [[package]] name = "rtic-syntax" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b149ff3177daeee442bb81ef7867d20d3c1ffea8a0a94e46e0e4b876ec4be2" +checksum = "3ad3ae243dd8d0a1b064615f664d4fa7e63929939074c564cbe5efdc4c503065" dependencies = [ "indexmap", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index 575bccc4..b1591e6f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ exclude = [ [dependencies] cortex-m = "0.7.4" cortex-m-rt = "0.6.10" -cortex-m-rtic = "1.0" +cortex-m-rtic = "1.1" enum-iterator = "0.6.0" mono-clock = "0.1" systick-monotonic = "1.0.0" From bad3ba9e396189415ca518e5302e708d9967ec7d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Nov 2022 13:21:48 +0000 Subject: [PATCH 2/3] Bump cortex-m-rtic from 1.0.0 to 1.1.3 Bumps [cortex-m-rtic](https://github.com/rtic-rs/cortex-m-rtic) from 1.0.0 to 1.1.3. - [Release notes](https://github.com/rtic-rs/cortex-m-rtic/releases) - [Changelog](https://github.com/rtic-rs/cortex-m-rtic/blob/master/CHANGELOG.md) - [Commits](https://github.com/rtic-rs/cortex-m-rtic/compare/v1.0.0...v1.1.3) --- updated-dependencies: - dependency-name: cortex-m-rtic dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d3d4b5bb..96fb8e09 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -298,9 +298,9 @@ dependencies = [ [[package]] name = "cortex-m-rtic" -version = "1.0.0" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daae9c453d0d5b467ebcdeae7aba537cb45a7de899930ad09f01c8dc42aa531f" +checksum = "c6b82f1c39acd6c3a35c2013b6110c20f5bc534522791fabadeed49ccada2dce" dependencies = [ "bare-metal 1.0.0", "cortex-m 0.7.6", @@ -313,9 +313,9 @@ dependencies = [ [[package]] name = "cortex-m-rtic-macros" -version = "1.0.0" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ba355d1639cf8df7c0658f01bd8952d11d49a029309118787eb54afc47a6cf8" +checksum = "9e8e9645ef54bec1cf70ac33e9bf9566e6507ab5b41ae6baf3735662194e8607" dependencies = [ "proc-macro-error", "proc-macro2", @@ -1036,9 +1036,9 @@ checksum = "fb8b0b822d1a366470b9cea83a1d4e788392db763539dc4ba022bcc787fece82" [[package]] name = "rtic-syntax" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b149ff3177daeee442bb81ef7867d20d3c1ffea8a0a94e46e0e4b876ec4be2" +checksum = "3ad3ae243dd8d0a1b064615f664d4fa7e63929939074c564cbe5efdc4c503065" dependencies = [ "indexmap", "proc-macro2", diff --git a/Cargo.toml b/Cargo.toml index f483edcc..515a771f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ exclude = [ [dependencies] cortex-m = "0.7.6" cortex-m-rt = "0.6.10" -cortex-m-rtic = "1.0" +cortex-m-rtic = "1.1" enum-iterator = "0.6.0" mono-clock = "0.1" systick-monotonic = "1.0.0" From e28e8d4d1f6189cf049a77f30e579e723eaeb3df Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Mon, 21 Nov 2022 14:25:41 +0100 Subject: [PATCH 3/3] Fixing warning --- src/hardware/platform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/platform.rs b/src/hardware/platform.rs index 8985b69a..df7a38a6 100644 --- a/src/hardware/platform.rs +++ b/src/hardware/platform.rs @@ -119,7 +119,7 @@ pub fn clear_reset_flags() { /// Reset the device to the internal DFU bootloader. pub fn reset_to_dfu_bootloader() { // Disable the SysTick peripheral. - let systick = unsafe { &*cortex_m::peripheral::SYST::ptr() }; + let systick = unsafe { &*cortex_m::peripheral::SYST::PTR }; unsafe { systick.csr.write(0); systick.rvr.write(0);