Skip to content

Commit

Permalink
Bump dependency on vcell to version 0.1.3
Browse files Browse the repository at this point in the history
The depenency used to be on version 0.1.0, but the pac doesn't actually
compile with that version:

```
error[E0599]: no method named `as_ptr` found for struct `vcell::VolatileCell` in the current scope
   --> src/generic.rs:101:23
    |
101 |         self.register.as_ptr()
    |                       ^^^^^^ method not found in `VolatileCell<<REG as RegisterSpec>::Ux>`
```

`as_ptr` was added in version 0.1.1 of vcell, but that version is marked
as yanked for unknown reasons. (japaric/vcell#13)

Version 0.1.2 would have been another option, but 0.1.3 contains a fix for
japaric/vcell#5 which looks important.
  • Loading branch information
jannic committed Aug 2, 2023
1 parent 3795209 commit cfb0c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ targets = ["thumbv6m-none-eabi"]

[dependencies]
cortex-m = "0.7.3"
vcell = "0.1.0"
vcell = "0.1.3"

[dependencies.cortex-m-rt]
optional = true
Expand Down

0 comments on commit cfb0c4c

Please sign in to comment.