diff options
author | alexmoon <alex.r.moon@gmail.com> | 2022-07-14 15:41:22 -0400 |
---|---|---|
committer | alexmoon <alex.r.moon@gmail.com> | 2022-07-14 15:41:22 -0400 |
commit | 84006cd336adf2642cb5716433abb5540c4fb8b9 (patch) | |
tree | 4b89f2680b713f20aa0c351ebc90287ba9f72b15 | |
parent | df8edede9a92f454387fda85446d73b2ad9dde03 (diff) | |
download | nrf-softdevice-84006cd336adf2642cb5716433abb5540c4fb8b9.zip |
Update deps
-rw-r--r-- | Cargo.lock | 100 | ||||
-rw-r--r-- | nrf-softdevice/src/critical_section_impl.rs | 4 | ||||
-rw-r--r-- | rust-toolchain.toml | 11 |
3 files changed, 61 insertions, 54 deletions
@@ -119,9 +119,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bytemuck" -version = "1.9.1" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdead85bdec19c194affaeeb670c0e41fe23de31459efd1c174d049269cf02cc" +checksum = "c53dfa917ec274df8ed3c572698f381a24eef2efba9492d797301b72b6db408a" [[package]] name = "byteorder" @@ -144,15 +144,15 @@ dependencies = [ "aligned", "bare-metal 0.2.5", "bitfield", - "cortex-m 0.7.4", + "cortex-m 0.7.5", "volatile-register", ] [[package]] name = "cortex-m" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37ff967e867ca14eba0c34ac25cd71ea98c678e741e3915d923999bb2fe7c826" +checksum = "cd20d4ac4aa86f4f75f239d59e542ef67de87cce2c282818dc6e84155d3ea126" dependencies = [ "bare-metal 0.2.5", "bitfield", @@ -188,7 +188,7 @@ checksum = "95da181745b56d4bd339530ec393508910c909c784e8962d15d722bacf0bcbcd" dependencies = [ "bare-metal 1.0.0", "cfg-if", - "cortex-m 0.7.4", + "cortex-m 0.7.5", "riscv", ] @@ -264,9 +264,9 @@ dependencies = [ [[package]] name = "defmt" -version = "0.3.1" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9252abe43d4c0a5df0c5c865129fa8daad338bb33357ba40023a37cd34b4a7b9" +checksum = "d3a0ae7494d9bff013d7b89471f4c424356a71e9752e0c78abe7e6c608a16bb3" dependencies = [ "bitflags", "defmt-macros", @@ -308,7 +308,7 @@ source = "git+https://github.com/embassy-rs/embassy#5318fe404bed68a38a1d81eb7359 dependencies = [ "atomic-polyfill", "cfg-if", - "cortex-m 0.7.4", + "cortex-m 0.7.5", "critical-section", "defmt", "embassy-macros", @@ -326,7 +326,7 @@ source = "git+https://github.com/embassy-rs/embassy#5318fe404bed68a38a1d81eb7359 dependencies = [ "atomic-polyfill", "cfg-if", - "cortex-m 0.7.4", + "cortex-m 0.7.5", "critical-section", "embassy", "embassy-hal-common", @@ -352,7 +352,7 @@ name = "embassy-hal-common" version = "0.1.0" source = "git+https://github.com/embassy-rs/embassy#5318fe404bed68a38a1d81eb7359ebc38e6fad15" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "embassy", "num-traits", ] @@ -374,7 +374,7 @@ version = "0.1.0" source = "git+https://github.com/embassy-rs/embassy#5318fe404bed68a38a1d81eb7359ebc38e6fad15" dependencies = [ "cfg-if", - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "critical-section", "defmt", @@ -460,9 +460,9 @@ dependencies = [ [[package]] name = "fixed" -version = "1.15.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36a65312835c1097a0c926ff3702df965285fadc33d948b87397ff8961bad881" +checksum = "93db1ca4ef0496cc54f43660fcb423bc16ced939b8fdd9749e7abcd5674f1803" dependencies = [ "az", "bytemuck", @@ -582,9 +582,9 @@ dependencies = [ [[package]] name = "heapless" -version = "0.7.11" +version = "0.7.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf3aa654fd5797bcce240927e736c84617d9db084afe6e5a63e4f065b2b8119c" +checksum = "9f6733da246dc2af610133c8be0667170fd68e8ca5630936b520300eee8846f9" dependencies = [ "atomic-polyfill", "hash32", @@ -649,7 +649,7 @@ checksum = "546c37ac5d9e56f55e73b677106873d9d9f5190605e41a856503623648488cae" name = "nrf-softdevice" version = "0.1.0" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "critical-section", "defmt", @@ -691,7 +691,7 @@ name = "nrf-softdevice-examples" version = "0.1.0" dependencies = [ "atomic-pool", - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "defmt", "defmt-rtt", @@ -749,7 +749,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f0cd69f02212c43d0abf0f29b2b38657efe06f60719606398427e307ef2141da" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "vcell", ] @@ -760,7 +760,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c781b61666a97f249989d25c2997cefcf72a29721a2628cf666a4195566933b9" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "vcell", ] @@ -771,7 +771,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be89f9a72ea52c1fc1712db6cb9adebf95fb16598d5919e7d3dbd6e13b7913ce" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "vcell", ] @@ -782,7 +782,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccfc0d290dc3bf619206bd32d012778692c62401b14eda67091609feff1629e0" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "vcell", ] @@ -793,7 +793,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e649284d1cde4aef5c43ea32588553cfd31a9b7ce5fccdac98f012399382c33a" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "vcell", ] @@ -804,7 +804,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dd2b96c950afd2887102113c5194cb5c985a13aff0eac5fb976a76cd6e62a21" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "vcell", ] @@ -815,7 +815,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9efa9d1e910e3b825fd7e28f369363a8e036b386b77e21035b9f0e510de199cf" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "cortex-m-rt", "vcell", ] @@ -855,24 +855,24 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3ab1f00eac22bd18f8e5cae9555f2820b3a0c166b5b556ee3e203746ea6dcf3a" dependencies = [ - "cortex-m 0.7.4", + "cortex-m 0.7.5", "defmt", ] [[package]] name = "pin-project" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ad3879ad3baf4e44784bc6a718a8698867bb991f8ce24d1bcbe2cfb4c3a75e" +checksum = "78203e83c48cffbe01e4a2d35d566ca4de445d79a85372fc64e378bfc812a260" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.0.10" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744b6f092ba29c3650faf274db506afd39944f48420f6c86b17cfe0ee1cb36bb" +checksum = "710faf75e1b33345361201d36d04e98ac1ed8909151a017ed384700836104c74" dependencies = [ "proc-macro2", "quote", @@ -917,18 +917,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.38" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9027b48e9d4c9175fa2218adf3557f91c1137021739951d4932f5f8268ac48aa" +checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7" dependencies = [ - "unicode-xid", + "unicode-ident", ] [[package]] name = "quote" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1" +checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804" dependencies = [ "proc-macro2", ] @@ -941,9 +941,9 @@ checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" [[package]] name = "regex" -version = "1.5.5" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286" +checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" dependencies = [ "aho-corasick", "memchr", @@ -952,9 +952,9 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.6.25" +version = "0.6.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b" +checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" [[package]] name = "riscv" @@ -992,7 +992,7 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.9", + "semver 1.0.12", ] [[package]] @@ -1012,9 +1012,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.9" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cb243bdfdb5936c8dc3c45762a19d12ab4550cdc753bc247637d4ec35a040fd" +checksum = "a2333e6df6d6598f2b1974829f853c2b4c5f4a6e503c10af918081aa6f8564e1" [[package]] name = "semver-parser" @@ -1024,9 +1024,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "spin" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c530c2b0d0bf8b69304b39fe2001993e267461948b890cd037d8ad4293fa1a0d" +checksum = "7f6002a767bff9e83f8eeecf883ecb8011875a21ae8da43bffb817a57e78cc09" dependencies = [ "lock_api", ] @@ -1051,13 +1051,13 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "syn" -version = "1.0.93" +version = "1.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04066589568b72ec65f42d65a1a52436e954b168773148893c020269563decf2" +checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd" dependencies = [ "proc-macro2", "quote", - "unicode-xid", + "unicode-ident", ] [[package]] @@ -1067,10 +1067,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" [[package]] -name = "unicode-xid" -version = "0.2.3" +name = "unicode-ident" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" +checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c" [[package]] name = "uuid" diff --git a/nrf-softdevice/src/critical_section_impl.rs b/nrf-softdevice/src/critical_section_impl.rs index 196c2ad..828e102 100644 --- a/nrf-softdevice/src/critical_section_impl.rs +++ b/nrf-softdevice/src/critical_section_impl.rs @@ -56,7 +56,7 @@ critical_section::custom_impl!(CriticalSection); unsafe impl critical_section::Impl for CriticalSection { unsafe fn acquire() -> u8 { - let nvic = &*NVIC::ptr(); + let nvic = &*NVIC::PTR; let nested_cs = CS_FLAG.load(Ordering::SeqCst); if !nested_cs { @@ -79,7 +79,7 @@ unsafe impl critical_section::Impl for CriticalSection { unsafe fn release(token: u8) { compiler_fence(Ordering::SeqCst); - let nvic = &*NVIC::ptr(); + let nvic = &*NVIC::PTR; if token == 0 { raw_critical_section(|| { CS_FLAG.store(false, Ordering::Relaxed); diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e73ef7e..c6d0f48 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,6 +1,13 @@ # Before upgrading check that everything is available on all tier1 targets here: # https://rust-lang.github.io/rustup-components-history [toolchain] -channel = "nightly-2022-04-24" +channel = "nightly-2022-07-13" components = [ "rust-src", "rustfmt" ] -targets = [ "thumbv7em-none-eabi", "thumbv7m-none-eabi", "thumbv6m-none-eabi", "thumbv7em-none-eabihf", "thumbv8m.main-none-eabihf", "wasm32-unknown-unknown" ] +targets = [ + "thumbv7em-none-eabi", + "thumbv7m-none-eabi", + "thumbv6m-none-eabi", + "thumbv7em-none-eabihf", + "thumbv8m.main-none-eabihf", + "wasm32-unknown-unknown", +] |