Skip to content

Crate panics #100

@dscso

Description

@dscso

When running this crate on a STM32F767ZI (nucleo-dev board) I once got the following panic after I disconnected the ethernet cable:

1970-01-01T00:00:57.670Z ERROR panicked at /Users/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/stm32-eth-0.8.0/src/dma/smoltcp_phy.rs:90:56:
called `Option::unwrap()` on a `None` value
└─ main::panic_probe::panic @ src/panic_probe.rs:17   

let packet = self.rx_ring.recv_next(meta).ok().unwrap();

I am using this crate v0.8.0 with the PTP feature enabled. I can't reproduce the error, just wanted to mention it, if this helps. Feel free to close the issue if you don't have the capacity to look into it.

Thank you very much for this great crate, without it my project would not be possible!

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