aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32h7/src/bin/eth.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add new{_with_phy}, new_mii{_with_phy}datdenkikniet2025-11-141-6/+6
|
* Rustfmt for edition 2024.Dario Nieuwenhuis2025-10-061-1/+1
|
* executor: return error when creating the spawntoken, not when spawning.Dario Nieuwenhuis2025-08-291-1/+1
|
* Add rand-core v0.9 support.Dario Nieuwenhuis2025-05-181-1/+0
| | | | Co-Authored-By: Aurélien Jacobs <[email protected]>
* stm32/eth: rename PHY->Phy, GenericSMI -> GenericPhy. Remove unneeded unsafes.Dario Nieuwenhuis2025-01-261-4/+3
| | | | | We shouldn't use `unsafe` to mark merely "dangerous" actions, only actions that actually cause UB.
* stm32: change all examples and tests to use GenericSMI::new_auto().Dario Nieuwenhuis2025-01-261-1/+1
|
* net: refactor to simplify lifetimes/generics.Dario Nieuwenhuis2024-09-161-7/+6
|
* examples: ensure at least 3 sockets to avoid running out (DHCP, DNS, the user's)Dario Nieuwenhuis2024-08-071-6/+1
|
* Rust formatting for comments.AlejandroFNadal2024-03-201-9/+9
|
* Add comment warning for new users about changing pins on Ethernet for ↵Alejandro Nadal2024-03-201-9/+11
| | | | | different devices Not all STM32H7 devices share the pins of the example. Added a warning and a specific example for STM32H747XIH
* ci: use beta, add secondary nightly ci.Dario Nieuwenhuis2023-12-211-1/+0
|
* chore: replace make_static! macro usage with non-macro versionUlf Lilleengen2023-12-211-5/+8
|
* stm32/eth: add host server command exampleBadr Bouslikhin2023-12-051-0/+1
|
* stm32/eth: fix h7 examplesBadr Bouslikhin2023-12-051-1/+1
| | | | | | The STM32H7 examples enable `dhcpv4` and `dns` features. Both use one socket, meaning that we need one extra socket for our firmware tcp socket.
* stm32/rcc: add shared code for hsi48 with crs support.Dario Nieuwenhuis2023-11-051-1/+1
|
* stm32/rcc: misc cleanups.Dario Nieuwenhuis2023-10-231-3/+3
|
* time: Update examples, tests, and other code to use new Timer::after_x ↵Adam Greig2023-10-151-3/+3
| | | | convenience methods
* Patch tests & examplesGabriel Górski2023-10-091-2/+1
|
* stm32/rcc: use PLL enums from PAC.Dario Nieuwenhuis2023-10-091-3/+3
|
* stm32/rcc: unify h5 and h7.Dario Nieuwenhuis2023-09-211-5/+23
|
* add wait_config_up to examplesJuliDi2023-09-081-0/+3
|
* Update to embedded-io 0.5 (#1752)Dario Nieuwenhuis2023-08-071-1/+1
|
* stm32/rng: use bind_interrupts!.Dario Nieuwenhuis2023-07-311-2/+4
|
* stm32/eth: add set_poll_intervalxoviat2023-07-151-1/+1
|
* stm32/eth: impl. poll intervalxoviat2023-07-151-1/+1
|
* net: Support dual stack IPRuben De Smet2023-06-071-2/+2
|
* Rename StaticConfig to StaticConfigV4Ruben De Smet2023-06-061-1/+1
|
* Use make_static! from static-cell v1.1Dario Nieuwenhuis2023-06-011-13/+8
|
* stm32: move to bind_interruptsxoviat2023-05-241-3/+6
| | | | disable lora functionality for now
* net: do not use smoltcp Instant/Duration in public API.Dario Nieuwenhuis2023-05-151-1/+1
|
* Fix examples broken by the macro fix.Dario Nieuwenhuis2023-03-081-1/+1
|
* net: allocate space for 2 sockets, needed for dhcp.Dario Nieuwenhuis2023-01-191-1/+1
|
* Add smoltcp dhcp socket configurationPaweł Jan Czochański2023-01-191-8/+3
|
* stm32/eth_v2: update to new embassy-net trait, remove PeripheralMutex.Dario Nieuwenhuis2022-12-131-22/+21
|
* Remove Forever, switch to static_cell.Dario Nieuwenhuis2022-08-221-7/+7
|
* Split embassy-time from embassy-executor.Dario Nieuwenhuis2022-08-181-2/+2
|
* examples Remove the `fn config()` idiom.Dario Nieuwenhuis2022-08-171-7/+3
| | | | | It was only useful for doing #[embassy_executor::main(config = "config()")]`. Now that it's gone, it makes more sense to build the config in main directly.
* Remove HAL initialization from #[embassy::main] macro.Dario Nieuwenhuis2022-08-171-3/+4
|
* Split embassy crate into embassy-executor, embassy-util.Dario Nieuwenhuis2022-07-291-5/+5
|
* embassy-stm32: Simplify timeGrant Miller2022-07-101-4/+4
| | | | | | | | | | - Remove unused `MilliSeconds`, `MicroSeconds`, and `NanoSeconds` types - Remove `Bps`, `KiloHertz`, and `MegaHertz` types that were only used for converting to `Hertz` - Replace all instances of `impl Into<Hertz>` with `Hertz` - Add `hz`, `khz`, and `mhz` methods to `Hertz`, as well as free function shortcuts - Remove `U32Ext` extension trait
* Run rustfmt.Dario Nieuwenhuis2022-06-121-5/+2
|
* WIP embassy-net v2Dario Nieuwenhuis2022-05-251-94/+87
|
* Replace embassy::io with embedded_io.Dario Nieuwenhuis2022-05-071-4/+3
|
* embassy-stm32/eth: convert LAN8742 driver to generic SMI driverDavid Lenfesty2022-04-301-4/+4
| | | | | | | | 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.
* Use embassy/defmt-timestamp-uptime in all examples.Dario Nieuwenhuis2022-04-021-9/+17
|
* stm32: Add standard crate-wide macros for pin/dma traits, switch all drivers ↵Dario Nieuwenhuis2022-02-101-3/+4
| | | | to use them.
* examples: remove unused deps.Dario Nieuwenhuis2021-11-291-2/+1
|
* Fix v2 ethernet pin definitions. Fix ethernet example for H7 nucleos.Matous Hybl2021-11-041-2/+2
|
* Remove trait_alias, allow(incomplete_features).Dario Nieuwenhuis2021-09-031-2/+0
| | | | trait_alias seems unused. no idea why it's there.
* Rename Random impl to Rng.Bob McWhirter2021-09-011-3/+3
| | | | Create Random struct providing next_x(range) for all T:Rng.