Commit graph

37 commits

Author SHA1 Message Date
62e56052cf Adapt UDP to W5100
Some checks failed
Rust / Check (push) Has been cancelled
Rust / Test Suite (push) Has been cancelled
Rust / Rustfmt (push) Has been cancelled
Rust / Clippy (push) Has been cancelled
2025-11-11 14:40:25 +01:00
Michael Watzko
04ec37adea Prepare for 0.6.0 release 2025-03-21 16:00:21 +01:00
Markus Reiter
ae29db2fd7
Update embedded-nal to 0.9. (#66) 2025-03-21 15:41:28 +01:00
Ryan Summers
ece51eaedd Preparing for 0.5.0 release 2024-07-07 14:04:55 +02:00
Ryan Summers
09db1687dd Updating embedded-nal version 2024-07-05 15:14:29 +02:00
Ryan Summers
d2dea7a42c Fixing docs and tests 2024-07-05 14:18:40 +02:00
Ryan Summers
b9ba375ca2 Refactoring bus traits for embedded-hal 1.0 2024-07-05 14:18:40 +02:00
Lachezar Lechev
fd699b3f44
chore: remove defmt from dev-deps.
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-25 15:35:05 +03:00
Lachezar Lechev
ed49f20ead
chore: test FourWire with embedded-hal-mock:
- Add dev-dependencies for embedded-hal-mock
- add docs for FourWire
- add tests for SPI frames transactions

Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:57:28 +03:00
Lachezar Lechev
66e964335f
fix: Cargo.toml package version to 0.4.1 2023-05-01 18:58:23 +03:00
Lachezar Lechev
f2ac8521b1
feat: defmt + derive for some UDP types
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-02-10 14:51:55 +02:00
Michael Watzko
4ab2013ea1 Prepare release of 0.4.0 2022-01-23 14:18:38 +01:00
Ryan Summers
9327809fe7
Add TCP-based NAL implementation (#24)
* Adding TCP-based NAL implementation

* Updating NAL dependency

* Updating connect to handle network errors

* Adding support for getting IP and MAC, allowing transparent access to the W5500 in the interface.

* Fixing TCP connect when not in INIT

* Adding wait after reset

* Reverting changes

* More delta reductions

* Fixing format

* Updating changelog

* Fixing docs

* Updating NAL version

* Adding debug derive

* fixing TCP write

* Updating RX receive size to allow less than 8 bytes

* Fixing clippy lints
2022-01-23 13:30:08 +01:00
Michael Watzko
a0f46ae95e Add no-chip-version-assertion to disable checking the chip for the version 2021-03-23 23:25:45 +01:00
Jonah Dahlquist
52f0d06e30 Updated dependencies, fixed port closing after receive 2021-03-22 22:04:12 -07:00
Jonah Dahlquist
55097322a0 Updated embedded-nal and removed (now-redundent) Interface struct 2021-02-18 19:25:58 -08:00
Jonah Dahlquist
d844a116d5 Updated to latest embedded-nal 2021-02-18 19:24:06 -08:00
Jonah Dahlquist
da2bcd4e7d Updated to released version of embedded-nal 2021-02-18 19:24:06 -08:00
Jonah Dahlquist
1cac758d5a Added self to authors list, fixed Clippy lint errors 2021-02-18 19:17:30 -08:00
Jonah Dahlquist
cc4db22b66 Changed to depend on upstream version of embedded-nal after PR merge 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
6caeeae2eb Updated dependencies 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
f546ff2011 Re-wrote socket implementations to be more compatible with embedded-nal 2021-02-18 19:16:14 -08:00
Alex M
64085eab90 Update dependencies. 2020-08-09 16:27:05 -07:00
Michael Watzko
30feeabd3e Version 0.3.0 2020-06-10 17:34:22 +02:00
Michael Watzko
2e1aa239d2 Upgrade to rust 2018 edition 2020-06-10 16:55:23 +02:00
Jonah Dahlquist
1d88a91e88 Updated all dependencies, replaced deprecated v1 OutputPin 2019-07-30 20:25:18 -05:00
Vincent Stakenburg
b784982f9e use rust 1.32.0 to_be_bytes instead 2019-04-19 13:11:44 +02:00
Michael Watzko
1415adbae0 GH-3: Refactor to allow to state tracking of sockets, take an &mut SPI while 'activated'
The activated mode allows one to call functions without passing the SPI reference
each time, while not consuming it for the lifetime of W5500.
2019-02-12 23:09:34 +01:00
Michael Watzko
0bc4e614a3 GH-3: Clarify licensing 2019-02-12 17:25:17 +01:00
Michael Watzko
7b6957d61f Version 0.1.6 (publish removal of nightly requirement to crates.io) 2019-01-20 17:05:52 +01:00
Michael Watzko
c75f150ff2 Version 0.1.5 update keywords to include 'embedded-hal-driver' 2018-07-16 15:03:06 +02:00
Michael Watzko
56ee6a6f02 Update to latest rust / stm32f103xx-hal changes 2018-06-09 00:08:54 +02:00
Michael Watzko
7728fb22be Replace function signature 'fn ..<E, S: FullDuplex<u8, Error=E>>(&mut self, spi: &mut S,...)' with 'fn ..<E>(&mut self, spi: &mut FullDuplex<u8, Error=E>,..)' add SocketRegister, ability to conf./get/set socket interrupts 2018-04-01 23:17:10 +02:00
Michael Watzko
1a6eab88da Add README.md with example usage 2018-03-29 21:00:30 +02:00
Michael Watzko
f52b58f6e9 Set repository to the github mirror 2018-03-18 20:49:34 +01:00
Michael Watzko
d9de7d39d8 Add proper toml for publicfication 2018-03-17 16:49:38 +01:00
Michael Watzko
f28b948dac Be able to IP, Subnet, Gateway and Mac; and send udp packets 2018-03-11 14:24:47 +01:00