Commit graph

187 commits

Author SHA1 Message Date
Lachezar Lechev
dbb9189b7f
chore: uninit. device - call Bus version method
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:42:09 +03:00
Lachezar Lechev
501efeafbc
Merge branch 'master' into feat/retry-time-and-count 2023-07-12 17:32:30 +03:00
Lachezar Lechev
a8214b83ec
feat: device - RetryCount & RetryTime
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:27:42 +03:00
Lachezar Lechev
1450ba0190
feat: uninit. device - RetryCount & RetryTime
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:26:48 +03:00
Lachezar Lechev
2166c39ac4
feat: Bus - add default impls for common registers
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:26:42 +03:00
Lachezar Lechev
a858bd815a
feat: Mode to register value and common mode impls
- make crate no_std when not running tests

Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:20:27 +03:00
Lachezar Lechev
30b61de2eb
feat: common regs - Mode, RetryCount, RetryTime
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:20:00 +03:00
Ryan Summers
a384a09f35
Merge pull request #52 from Felix-El/fix-cursor
Fix cursor: wrapping_add for ptr, immutable sock
2023-06-23 16:10:36 +02:00
Felix Lelchuk
1eb9b25c7e Fix cursor: wrapping_add for ptr, immutable sock 2023-06-23 13:59:54 +02:00
Ryan Summers
388f92c557
Merge pull request #51 from kellerkindt/ryan-summers-patch-1
Update CHANGELOG.md
2023-06-22 11:26:35 +02:00
Ryan Summers
9aeb331fb0
Update CHANGELOG.md
Adding CHANGELOG for MACRAW read fix
2023-06-22 11:25:23 +02:00
Ryan Summers
691662b5e7
Merge pull request #47 from Felix-El/master
Allow truncated `RawDevice::read_frame()`
2023-06-22 11:23:16 +02:00
Felix Lelchuk
1f6a8a290c Allow truncated RawDevice::read_frame()
- `RawDevice::read_frame()` succeeds with a receive buffer smaller than the frame.
- Introduce `RxCursor` and `TxCursor` to track/update RX/TX buffer pointers making
  it easier to reason about functions such as `read_frame` / `write_frame`.
2023-06-22 11:21:20 +02:00
Ryan Summers
71af718229
Merge pull request #48 from elpiel/patch-1
fix: Cargo.toml package version to 0.4.1
2023-06-13 13:59:07 +02:00
Lachezar Lechev
66e964335f
fix: Cargo.toml package version to 0.4.1 2023-05-01 18:58:23 +03:00
Ryan Summers
25409e827a
Merge pull request #43 from kellerkindt/rs/issue-36/trait-names
Renaming trait function names, cleaning up docs
2023-03-31 16:16:24 +02:00
Ryan Summers
f1504d284d Fixing format 2023-03-31 13:48:49 +02:00
Ryan Summers
f3b4fa12b3 Fixing crate docs 2023-03-31 13:46:30 +02:00
Ryan Summers
953ed3c7b1 Readding reference docs 2023-03-31 13:45:42 +02:00
Ryan Summers
20981a7963 Fixing clippy lint 2023-03-30 18:02:46 +02:00
Ryan Summers
2c13f23ea4 Updating changelog 2023-03-30 12:56:47 +02:00
Ryan Summers
0d47ea0982 Renaming trait function names, cleaning up docs 2023-03-30 12:54:08 +02:00
Ryan Summers
516bdae999
Merge pull request #39 from LechevSpace/defmt-and-debug
Defmt
2023-03-06 13:55:54 +01:00
Lachezar Lechev
a0c8a42d64
fix: export only InitializeError from the module
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 14:53:48 +02:00
Lachezar Lechev
3e41fcfe61
ci: update rust workflow
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 13:20:49 +02:00
Lachezar Lechev
19343e3886
fix: CHANGELOG to unreleased version
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 13:20:37 +02:00
Lachezar Lechev
f340f60c3b
Merge branch 'master' into defmt-and-debug 2023-03-06 12:59:16 +02:00
Lachezar Lechev
c94b8c6241
chore: Update CHANGELOG adding defmt feature
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 12:55:14 +02:00
Lachezar Lechev
c3f79c96ed
feat: derive defmt::Format for more structs and errors
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-03-06 12:54:55 +02:00
Lachezar Lechev
1b2ba0bfab
feat: export uninitialized_device & add docs
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-02-17 17:51:20 +02: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
Lachezar Lechev
747fe0cca4
feat: export Host
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-02-10 14:50:08 +02:00
Ryan Summers
a287712c7b
Merge pull request #37 from LechevSpace/update-changelog
chore: Update changelog for 0.4.1
2023-01-23 15:00:23 +01:00
Lachezar Lechev
72e08659c9
chore: Update changelog for 0.4.1
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-01-23 15:35:28 +02:00
Ryan Summers
aa5eb1d4bf Updating CHANGELOG 2022-04-28 11:47:07 +02:00
Ryan Summers
9196d005d5 Fixing comment 2022-04-28 11:47:07 +02:00
Ryan Summers
4afe9f6724 Updating docs 2022-04-28 11:47:07 +02:00
Ryan Summers
30293b65a5 Finalizing updates to MACRAW support after testing 2022-04-28 11:47:07 +02:00
Ryan Summers
c25cbe6fdb Adding macraw support 2022-04-28 11:47:07 +02:00
Wouter Geraedts
259550e3b6 Fix indexing for phy configuration register 2022-04-28 11:32:35 +02:00
Michael Watzko
f2b16f9bf1 Fix links in CHANGELOG take 2 2022-01-23 14:29:38 +01:00
Michael Watzko
b703fc056f Fix links in CHANGELOG 2022-01-23 14:25:49 +01: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
2f4603d0bc Make clippy happy :) 2021-07-24 18:00:37 +02:00
Michael Watzko
3037cb3534 Delete gitlab script for repo mirroring 2021-07-24 17:58:20 +02:00
Michael Watzko
96c6edfd81 Take ownership of Spi in activate_ref 2021-04-16 01:30:11 +02:00
Michael Watzko
3489574603 Recent only relevant socket interrupt flags to not loose in-flight data 2021-04-16 01:24:51 +02:00
Michael Watzko
d58ab215b1 Add DeviceRefMut that allows device operation without moving ownership 2021-04-08 01:20:18 +02:00
Michael Watzko
ee415c63f0 Ensure that every udp socket can connect at the same time 2021-04-08 00:24:10 +02:00