aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/eth/v2/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add new{_with_phy}, new_mii{_with_phy}datdenkikniet2025-11-141-4/+74
|
* Run clock setup/enablement in new_innerdatdenkikniet2025-11-131-26/+14
|
* ETH no longer knows about Station managementdatdenkikniet2025-11-131-18/+6
|
* Move SMA responsibility to SMA peripheraldatdenkikniet2025-11-131-74/+7
|
* Give EthernetManagement owernship of MDIO pinsdatdenkikniet2025-11-131-19/+31
|
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-2/+4
|
* stm32/afio: make af_num() unavailable in afio chips.Dario Nieuwenhuis2025-09-061-1/+1
|
* stm32/afio: make the A generic param only appear in chips with AFIO.Dario Nieuwenhuis2025-09-051-25/+25
|
* Add STM32F1 AFIO remapFabian Wolter2025-09-051-25/+25
|
* Remove Peripheral trait, rename PeripheralRef->Peri.Dario Nieuwenhuis2025-03-271-57/+55
|
* stm32/eth: rename PHY->Phy, GenericSMI -> GenericPhy. Remove unneeded unsafes.Dario Nieuwenhuis2025-01-261-4/+4
| | | | | We shouldn't use `unsafe` to mark merely "dangerous" actions, only actions that actually cause UB.
* feat/stm32: disable multicast filtering on eth v2Krzysztof Królczyk2024-11-011-0/+3
| | | | | | | | | | | | | | | | | Initially, this was feature-gated, but has been requested to be changed to be unconditional, see PR 3488 for reasons. When filtering is enabled, it intercepts and drops silently ipv6 packets, possibly somewhere around smoltcp::iface::interface::ipv6 lines 36, 44 in current head sha e9b66eadaeacef758ebc4a12378f8d2162144cf4 With filtering disabled (this patch), packets are received and communication over ipv6 is possible, neighbor discovery works. related: #2496 Signed-off-by: Krzysztof Królczyk <[email protected]>
* stm32/gpio: refactor AfTypeJan Špaček2024-06-161-3/+3
|
* stm32: add support for STM32H7[RS] "bootflash line", add HIL tests.Dario Nieuwenhuis2024-05-011-31/+5
|
* stm32: update metapac. Adds U5 LPDMA, fixes ADC_COMMONs.Dario Nieuwenhuis2024-04-291-4/+0
|
* stm32: use private_bounds for sealed traits.Dario Nieuwenhuis2024-03-231-15/+14
|
* stm32: autogenerate clocks struct, enable mux for all chips.Dario Nieuwenhuis2024-02-021-2/+2
|
* stm32/eth: rename new_rmii to new, update metapac to fix issues with PC2_C.Dario Nieuwenhuis2024-02-011-1/+1
|
* Implement MII interfaceSimon B. Gasse2024-02-011-23/+113
| | | | | | | | - 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: add some docs.Dario Nieuwenhuis2023-12-181-0/+3
|
* rcc: ahb/apb -> hclk/pclkxoviat2023-10-151-1/+1
|
* stm32/eth: Move `phy_addr` from `Ethernet` to `PHY`Gabriel Górski2023-10-091-7/+4
| | | | | | | | | 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.
* stm32: update metapac and remove sbsxoviat2023-09-281-2/+2
|
* stm32/eth: fix receiving large frames on v2.Dario Nieuwenhuis2023-09-281-3/+1
|
* stm32: centralize enabling pwr, syscfg, flash.Dario Nieuwenhuis2023-09-251-1/+0
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-281-1/+1
| | | | internal use only. (#1700)
* stm32/eth: refactor genericsmixoviat2023-07-151-9/+18
|
* stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-191-226/+209
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-081-5/+5
| | | | | | | | | | | | - Move typelevel interrupts to a special-purpose mod: `embassy_xx::interrupt::typelevel`. - Reexport the PAC interrupt enum in `embassy_xx::interrupt`. This has a few advantages: - The `embassy_xx::interrupt` module is now more "standard". - It works with `cortex-m` functions for manipulating interrupts, for example. - It works with RTIC. - the interrupt enum allows holding value that can be "any interrupt at runtime", this can't be done with typelevel irqs. - When "const-generics on enums" is stable, we can remove the typelevel interrupts without disruptive changes to `embassy_xx::interrupt`.
* cortex-m: remove owned interrupts.Dario Nieuwenhuis2023-06-011-3/+3
|
* stm32: move to bind_interruptsxoviat2023-05-241-24/+29
| | | | disable lora functionality for now
* stm32: add H5 support.Dario Nieuwenhuis2023-04-061-4/+21
|
* stm32/eth_v2: update to new embassy-net trait, remove PeripheralMutex.Dario Nieuwenhuis2022-12-131-227/+156
|
* Disable MMC interruptsMatous Hybl2022-11-101-0/+18
| | | | MMC interrupts can cause firmware hangup - refer to: https://github.com/stm32-rs/stm32h7xx-hal/issues/275 for more information
* make `State::new()` const, consistent with othersVincent Stakenburg2022-09-151-1/+1
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-221-1/+1
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-1/+1
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-231-16/+16
|
* Update embassy-stm32Dario Nieuwenhuis2022-07-231-11/+11
|
* Run rustfmt.Dario Nieuwenhuis2022-06-121-13/+8
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-121-2/+2
| | | | | | - Move Interrupt and InterruptExecutor from `embassy` to `embassy-cortex-m`. - Move Unborrow from `embassy` to `embassy-hal-common` (nothing in `embassy` requires it anymore) - Move PeripheralMutex from `embassy-hal-common` to `embassy-cortex-m`.
* common/PeripheralMutex: remove unsafe API. (#802)Dario Nieuwenhuis2022-06-091-1/+1
| | | | | | Following the project's decision that "leak unsafe" APIs are not marked as "unsafe", update PeripheralMutex to accept non-'static state without unsafe. Fixes #801
* WIP embassy-net v2Dario Nieuwenhuis2022-05-251-1/+1
|
* net: add functions to get current Eth and IP configDario Nieuwenhuis2022-05-021-1/+1
|
* Update rust nightly, embedded-hal 1.0, embedded-hal-async.Dario Nieuwenhuis2022-03-111-1/+1
|
* stm32: centralize gpio reg access in the gpio module.Dario Nieuwenhuis2022-02-241-7/+6
|
* stm32: Add standard crate-wide macros for pin/dma traits, switch all drivers ↵Dario Nieuwenhuis2022-02-101-150/+49
| | | | to use them.
* Fix v2 ethernet pin definitions. Fix ethernet example for H7 nucleos.Matous Hybl2021-11-041-2/+2
|
* partial alternate function configuration on STM32f1Tobias Pisani2021-10-111-2/+2
|
* Code review request - moving `OutputType` to `mod sealed`Mariusz Ryndzionek2021-09-241-1/+1
|