You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: use of deprecated associated function `cortex_m::peripheral::MPU::ptr`: Use the associated constant `PTR` instead
--> board-support/src/lib.rs:140:26
|
140 | let mpu = &*MPU::ptr();
| ^^^
|
= note: `#[warn(deprecated)]` on by default
warning: `nw-board-support` (lib) generated 1 warning
The text was updated successfully, but these errors were encountered:
willemml
changed the title
Compiling warning: "deprecated associated function cortex_m::peripheral::MPU::ptr"
Use cortex_m::peripheral::MPU::PTR instead of deprecated cortex_m::peripheral::MPU::ptr()
Sep 23, 2022
willemml
changed the title
Use cortex_m::peripheral::MPU::PTR instead of deprecated cortex_m::peripheral::MPU::ptr()
Use PTR constant instead of deprecated ptr() function on registers and peripherals
Sep 23, 2022
You might be using nightly rust or a newer version, I don't know why it only happens sometimes, if/when I work on this again I'll check the code for use of deprecated functions.
Command:
crate build
Full warning:
The text was updated successfully, but these errors were encountered: