aboutsummaryrefslogtreecommitdiff
path: root/embassy-stm32/src/eth
Commit message (Collapse)AuthorAgeFilesLines
* correct spelling of the word "receive"Stefan Gehr2024-02-031-1/+1
|
* stm32: autogenerate clocks struct, enable mux for all chips.Dario Nieuwenhuis2024-02-023-5/+6
|
* 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-012-23/+120
| | | | | | | | - 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: more docs.Dario Nieuwenhuis2023-12-181-0/+2
|
* stm32: add some docs.Dario Nieuwenhuis2023-12-183-1/+28
|
* stm32: resolve eth/v2 security bugxoviat2023-11-071-14/+10
| | | | fixes #2129
* rcc: ahb/apb -> hclk/pclkxoviat2023-10-152-2/+2
|
* stm32/eth: Move `phy_addr` from `Ethernet` to `PHY`Gabriel Górski2023-10-094-32/+27
| | | | | | | | | 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-252-2/+0
|
* Introduce driver::HardwareAddress without smoltcp dependencyRuben De Smet2023-07-311-3/+3
|
* Rename embassy-hal-common to embassy-hal-internal, document it's for ↵Dario Nieuwenhuis2023-07-282-2/+2
| | | | internal use only. (#1700)
* stm32/eth: fix cfg(not(time))xoviat2023-07-171-6/+6
|
* stm32/eth: add set_poll_intervalxoviat2023-07-151-2/+8
|
* stm32/eth: impl. poll intervalxoviat2023-07-151-1/+24
|
* stm32/eth: convert static methoxoviat2023-07-151-2/+2
|
* stm32/eth: refactor genericsmixoviat2023-07-154-27/+47
|
* Update stm32-metapac, includes chiptool changes to use real Rust enums now.Dario Nieuwenhuis2023-06-291-1/+1
|
* stm32: update stm32-metapac.Dario Nieuwenhuis2023-06-195-468/+417
|
* Make interrupt module more standard.Dario Nieuwenhuis2023-06-082-10/+10
| | | | | | | | | | | | - 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-012-6/+6
|
* stm32: move to bind_interruptsxoviat2023-05-243-49/+59
| | | | disable lora functionality for now
* stm32: add H5 support.Dario Nieuwenhuis2023-04-061-4/+21
|
* 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-262-74/+69
|
* stm32/eth_v2: update to new embassy-net trait, remove PeripheralMutex.Dario Nieuwenhuis2022-12-132-456/+260
|
* stm32/eth_v1: update to new embassy-net trait, remove PeripheralMutex.Dario Nieuwenhuis2022-12-135-500/+398
|
* 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-152-2/+2
|
* split `embassy-util` into `embassy-futures`, `embassy-sync`.Dario Nieuwenhuis2022-08-222-2/+2
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-292-2/+2
|
* Rename Unborrowed -> PeripheralRef, Unborrow -> PeripheralDario Nieuwenhuis2022-07-232-32/+32
|
* Update embassy-stm32Dario Nieuwenhuis2022-07-232-22/+22
|
* Run rustfmt.Dario Nieuwenhuis2022-06-126-57/+27
|
* Add embassy-cortex-m crate.Dario Nieuwenhuis2022-06-122-4/+4
| | | | | | - 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-092-2/+2
| | | | | | 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-252-2/+2
|
* Replace embassy::io with embedded_io.Dario Nieuwenhuis2022-05-071-0/+2
|
* net: add functions to get current Eth and IP configDario Nieuwenhuis2022-05-022-2/+2
|
* stm32/eth: make "ethmac" vs "eth" consistent in RCC regs.Dario Nieuwenhuis2022-04-301-3/+3
|
* embassy-stm32/eth: consolidate v1a/v1c and add v1bDavid Lenfesty2022-04-3010-934/+43
| | | | | 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-302-24/+7
| | | | | | | | 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.
* embassy-stm32/eth/v1a: configure pins correctly for f107David Lenfesty2022-04-301-9/+21
| | | | v1a works correctly!