aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/eth/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* ETH no longer knows about Station managementdatdenkikniet2025-11-131-11/+4
|
* Move SMA responsibility to SMA peripheraldatdenkikniet2025-11-131-10/+3
|
* Add SMA peripheraldatdenkikniet2025-11-131-0/+1
|
* Add STM32F1 AFIO remapFabian Wolter2025-09-051-16/+16
|
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-1/+2
|
* stm32/eth: rename PHY->Phy, GenericSMI -> GenericPhy. Remove unneeded unsafes.Dario Nieuwenhuis2025-01-261-20/+18
| | | | | We shouldn't use `unsafe` to mark merely "dangerous" actions, only actions that actually cause UB.
* Use inline const for initializing arrays. (#3567)Dario Nieuwenhuis2024-11-241-4/+2
|
* rustfmt for new nightly.Dario Nieuwenhuis2024-10-141-2/+8
|
* embassy_stm32/eth: support compliance testingGerhard de Clercq2024-09-201-0/+14
| | | | | | This change adds the possibility to perform compliance testing with STM32 systems by directly exposing SMI when needed. Users can then use this to configure PHY registers for test modes.
* stm32: use private_bounds for sealed traits.Dario Nieuwenhuis2024-03-231-6/+5
|
* stm32: autogenerate clocks struct, enable mux for all chips.Dario Nieuwenhuis2024-02-021-1/+2
|
* Implement MII interfaceSimon B. Gasse2024-02-011-0/+7
| | | | | | | | - Extend the eth/v2 module to support MII besides RMII. - Replace `Ethernet::new` with `Ethernet::new_mii` and `Ethernet::new_rmii`. - Update ethernet examples. - Add example for MII ethernet.
* stm32: more docs.Dario Nieuwenhuis2023-12-191-0/+1
|
* stm32: add some docs.Dario Nieuwenhuis2023-12-181-1/+24
|
* stm32/eth: Move `phy_addr` from `Ethernet` to `PHY`Gabriel Górski2023-10-091-2/+2
| | | | | | | | | Previously, PHY addressing was a concern of the `Ethernet` struct which limited the `PHY` implementations which very often have to manage multiple PHYs internally and thus possibly need to address many of them. This change extends `StationManagement` to allow addressing different PHY addresses via SMI.
* Introduce driver::HardwareAddress without smoltcp dependencyRuben De Smet2023-07-311-3/+3
|
* stm32/eth: refactor genericsmixoviat2023-07-151-6/+4
|
* stm32: move to bind_interruptsxoviat2023-05-241-1/+1
| | | | disable lora functionality for now
* Apply fixDavide Della Giustina2023-03-011-1/+1
|
* PacketQueue::init() does not need to be unsafeDavide Della Giustina2023-02-281-2/+4
|
* Implemented suggestions from @DirbaioDavide Della Giustina2023-02-281-33/+10
|
* PacketQueue::new() uses ::init() when in nightlyDavide Della Giustina2023-02-281-7/+18
|
* Added PacketQueue::init()Davide Della Giustina2023-02-281-0/+18
|
* net: split driver trait to a separate crate.Dario Nieuwenhuis2022-12-261-72/+67
|
* stm32/eth_v1: update to new embassy-net trait, remove PeripheralMutex.Dario Nieuwenhuis2022-12-131-2/+119
|
* Replace embassy::io with embedded_io.Dario Nieuwenhuis2022-05-071-0/+2
|
* embassy-stm32/eth: consolidate v1a/v1c and add v1bDavid Lenfesty2022-04-301-3/+1
| | | | | The only differences between v1a and v1c were clocks and GPIO, v1b will likely work out of the box (or simply need minor tweaks)
* embassy-stm32/eth: convert LAN8742 driver to generic SMI driverDavid Lenfesty2022-04-301-1/+1
| | | | | | | | SMI Ethernet PHYs all share a common base set of registers that can do 90% of all tasks. The LAN8742 driver used some vendor-specific registers to check link negotiation status, but the need for that was debatable, so I migrated it to a generic driver instead, anybody who wants extra functionality can copy it and impl their own on top of it.
* Initial import to v1a, does not compileDavid Lenfesty2022-04-301-0/+1
|
* stm32: move pin trait impls from macrotables to build.rsDario Nieuwenhuis2022-02-231-30/+0
|
* stm32: Add standard crate-wide macros for pin/dma traits, switch all drivers ↵Dario Nieuwenhuis2022-02-101-0/+55
| | | | to use them.
* Add v1c ethernet driver for the STM32F7 family.Matous Hybl2021-11-101-1/+2
|
* eth: Add lan8742a PHYThales Fragoso2021-06-161-0/+27
|
* eth-v2: Start Ethernet peripheral implementationThales Fragoso2021-06-161-0/+7