bbd50619a4
Format, clean
2025-11-11 14:56:54 +01:00
62e56052cf
Adapt UDP to W5100
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
4e9f7f4d22
Fix link to #65 in README
2025-03-21 16:05:44 +01:00
Michael Watzko
04ec37adea
Prepare for 0.6.0 release
2025-03-21 16:00:21 +01:00
22dd5e2bdd
15da8f9f2f
Make DeviceState public ( #65 )
2025-03-21 15:55:42 +01:00
Michael Watzko
4743976211
Apply clippy suggestions
2025-03-21 15:52:22 +01:00
Michael Watzko
099e682b9d
Fix format in README
2025-03-21 15:49:51 +01:00
Michael Watzko
0399047449
Fix example in readme (follow up to #66 )
2025-03-21 15:48:32 +01:00
Markus Reiter
ae29db2fd7
Update embedded-nal to 0.9. ( #66 )
2025-03-21 15:41:28 +01:00
Ryan Summers
a1a063b0c8
Bumping release date
2024-07-08 10:18:29 +02: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
270436affa
Simplifying trait, sealing implementations
2024-07-05 14:18:40 +02:00
Ryan Summers
ec57a2f6f1
Refactoring device state management
2024-07-05 14:18:40 +02:00
Ryan Summers
1c07b969a1
Reviving InactiveDevice
2024-07-05 14:18:40 +02:00
Ryan Summers
509ee24309
Updating CHANGELOG
2024-07-05 14:18:40 +02:00
Ryan Summers
ef2aac6d88
Updating docs
2024-07-05 14:18:40 +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
Ryan Summers
74ef83910d
Merge pull request #60 from pdh11/pdh-macraw-interrupts
...
Allow interrupt-driven MACRAW operation
2024-04-15 13:16:20 +02:00
Peter Hartley
25683d610a
Fix new cargo fmt issues
2024-04-15 12:10:46 +01:00
Peter Hartley
fd6d254d52
Add CHANGELOG entry and fix review comments
2024-04-15 12:10:12 +01:00
Peter Hartley
d34ef053fd
Allow interrupt-driven MACRAW operation
...
This commit adds methods to RawDevice that enable interrupt-driven
operation. The enable_interrupt() method sets up SIMR so that
socket-level (internal) interrupts on Socket 0 cause chip-level
(external) interrupts (and as a convenience also sets S0_IR as
required). The disable_interrupt() method reverses those changes.
The clear_interrupt() method acknowledges all interrupts and is
intended to be called from the interrupt handler (or from thread mode
soon afterwards).
There is no change to existing functionality or operation if
enable_interrupt() is never called.
I did see PR#34 before filing this, but that change is focused on
TCP and UDP sockets, and my use case is MACRAW mode.
Tested on a W5500-Pico-EVB board with the RP2040 successfully receiving
and acting on active-low GPIO interrupts from W5500 via the INTn signal
on W5500 pin 36.
2024-04-15 10:47:53 +01:00
Ryan Summers
a45c33e54d
Merge pull request #57 from LechevSpace/fix/udp
...
fix: Udp implementation and add more methods
2023-07-27 11:14:07 +02:00
Lachezar Lechev
84757c552e
Merge branch 'master' into fix/udp
2023-07-27 12:11:21 +03:00
Ryan Summers
42791c27e5
Merge pull request #54 from LechevSpace/feat/retry-time-and-count
...
Feat: Retry time and count
2023-07-25 17:25:04 +02:00
Ryan Summers
3da66e6eb1
Merge pull request #55 from LechevSpace/chore/socket-and-other-docs
...
Chore: Improve API and add docs
2023-07-25 17:09:57 +02:00
Lachezar Lechev
02063d1c75
chore: PR review comments
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-25 16:16:33 +03:00
Lachezar Lechev
a606fb0980
chore: PR review comments
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-25 16:04:06 +03:00
Ryan Summers
f3f0f3e461
Merge pull request #56 from LechevSpace/chore/four-wire-tests-and-docs
...
chore: test FourWire with embedded-hal-mock:
2023-07-25 14:35:54 +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
eeeb0a24bb
chore: Update changelog
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-22 10:39:33 +03:00
Lachezar Lechev
98715d5247
fix: udp implementation and add more methods
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-22 10:31:01 +03:00
Lachezar Lechev
545debf0e3
chore: simplify
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-13 12:10:46 +03:00
Lachezar Lechev
f726d2b9a5
chore: update changelog
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-13 11:41:10 +03:00
Lachezar Lechev
29f531387d
chore: Bus move default impls to device & uninit device
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-13 11:40:09 +03:00
Lachezar Lechev
1788e43333
feat: define crate as no_std only when not doing tests
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 18:19:27 +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
f1c6a7a97b
docs: document registers socketn
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:51:49 +03:00
Lachezar Lechev
c6e5c58845
feat: get device state and more derives
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:50:34 +03:00
Lachezar Lechev
360496e4a9
chore: update changelog
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:46:03 +03:00
Lachezar Lechev
43fda7bab1
fix: device import & rustfmt
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:44:01 +03:00
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
6ff773d5ed
docs: document initialize_manual default gateway
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:40:47 +03:00
Lachezar Lechev
2735e6a6ee
chore: socket docs
...
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
2023-07-12 17:36:05 +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