Commit graph

91 commits

Author SHA1 Message Date
Jonah Dahlquist
adc7005255 Fixed representation of enum to be u8, fixed FourWire bus to set CS pin low during communication, instead of high 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
b6a52cbf8e Removed socket ownership checking, giving up on that effort for now 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
b9f916624b Fleshed out packet sending 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
63890a5d5a Moved packet to incoming_packet, stubbed outgoing_packet 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
332ab924db Moved more functionality into socket 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
423d2f6401 Fleshed out packet receipt 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
d0f5792028 Added Packet struct and beginnings of packet reading 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
95ca1be001 Ran formatting 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
36df284dca Finished UDP socket init 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
65a9552816 Moved register addresses into register modules, fixed borrow error 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
b82bb92ead Added inactive UP socket state, added run-time socket ownership checking, added register addresses to sockets 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
715cdea318 Changed UdpSocket to store a socket reference 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
bd78b82b8e Comment for checking socket at run-time 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
e8c8e3c9cc Laid out concept for UdpSocket init 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
b30e4d0d34 Stubbed UdpSocket struct, added Socket structs 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
e74f7f401b Fixed bug in bitmasking 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
d2fb6b9996 fmt 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
fd9e861dde Added Network trait that keeps track of network settings and has DHCP/Manual options for setting up options 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
7dd4c04fe4 Renamed Settings to Mode since it only applies to network mode byte 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
ce36644d9c Added module containing new register address representations, added chip mode init/reset 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
3177bad09f Restored chip mode settings/common type structs 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
d47de54561 Added state-machine diagram SVG 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
aa0c69b21e Fixed some masking issues with FourWireBus, added implementation for ThreeWireBus 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
16e813e45b Implemented frame transfer for four-wire bus 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
a43f86d744 Added bus model and InactiveW5500 state 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
03e30ef699 Began skeleton of new UninitializedW5500 struct and Bus trait/impls 2021-02-18 19:12:55 -08:00
kellerkindt
2b82c7f179
Update broken_intra_doc_links lint 2020-10-14 18:59:14 +02:00
kellerkindt
38a0b280db
Add dependabot 2020-10-14 18:56:26 +02:00
kellerkindt
48c26a1740
Merge pull request #23 from newAM/master
Add method to read PHY configuration.
2020-08-12 07:56:31 +02:00
Alex M
73f26ca2b2 Add method to read PHY configuration. 2020-08-11 17:25:05 -07:00
kellerkindt
664e1a0bd1
Merge pull request #21 from newAM/master
Add constructors for network types.
2020-08-10 22:14:00 +02:00
Alex M
cbb3468893 Add constructors for network types. 2020-08-10 12:28:01 -07:00
kellerkindt
6971df4ac3
Merge pull request #22 from newAM/update_dependencies
Update dependencies.
2020-08-10 07:25:02 +02:00
kellerkindt
73f2a68608
Merge pull request #20 from newAM/remove_lock
Remove Cargo.lock
2020-08-10 07:19:14 +02:00
Alex M
64085eab90 Update dependencies. 2020-08-09 16:27:05 -07:00
Alex M
fdfb8d651b Remove Cargo.lock 2020-08-09 15:48:04 -07:00
kellerkindt
979e750e89
Merge pull request #19 from gbip/master
Make IpAddr "Eq"
2020-07-20 13:27:57 +02:00
Paul Florence
bf75387b37 Make IpAddr "Eq" 2020-07-20 13:21:33 +02:00
GitLab Runner
b5b6ea8655 Merge branch 'master' of https://git.tallbyte.com/rust/w5500 2020-06-10 15:36:25 +00:00
Michael Watzko
8f39a1a956 Version 0.3.0 2020-06-10 17:35:44 +02:00
Michael Watzko
30feeabd3e Version 0.3.0 2020-06-10 17:34:22 +02:00
kellerkindt
a8909816bc
Fix usage of inactive w5500 instance 2020-06-10 17:32:30 +02:00
kellerkindt
348a17f24a
Add CHANGELOG for upcoming 0.3.0 release 2020-06-10 17:29:38 +02:00
Michael Watzko
02ae928a51 Update doc and links 2020-06-10 17:19:34 +02:00
Michael Watzko
0785534c1c Remove unused lifetime (result of rebase merge) 2020-06-10 16:55:41 +02:00
Michael Watzko
2e1aa239d2 Upgrade to rust 2018 edition 2020-06-10 16:55:23 +02:00
Michael Watzko
b09643c886 Fix rightful clippy complaints about map_err 2020-06-10 16:55:23 +02:00
Michael Watzko
45d0a5c720 No longer allow unused 2020-06-10 16:55:22 +02:00
Michael Watzko
caecd49b08 Fix intra_doc_link_resolution_failure and deny in lib.rs 2020-06-10 16:55:22 +02:00
Michael Watzko
75571b10c9 Add the Safety section header and deny intra_doc_link_failures 2020-06-10 16:55:22 +02:00