Commit graph

213 commits

Author SHA1 Message Date
Jonah Dahlquist
da2bcd4e7d Updated to released version of embedded-nal 2021-02-18 19:24:06 -08:00
Jonah Dahlquist
d3ca4a3d92 Removed unnecessary extern crate statements 2021-02-18 19:24:04 -08:00
Jonah Dahlquist
259da58eb9 Recovered MAC address docs from previous driver code 2021-02-18 19:23:28 -08:00
Jonah Dahlquist
90604fc86a Implemented From trait for busses 2021-02-18 19:23:28 -08:00
Jonah Dahlquist
2f26a508da Implemented From trait for InitializeError 2021-02-18 19:23:28 -08:00
Jonah Dahlquist
2b59081e74 Removed implementation description from README, updated example to work with latest embedded-nal interface, removed completed TODOs 2021-02-18 19:23:28 -08:00
Jonah Dahlquist
839367b5f2 Different clippy lint allowed 2021-02-18 19:23:28 -08:00
Jonah Dahlquist
dcfa65509e Renamed Network mod to Host, removed debugging function, communted out dormant portions of DHCP host config 2021-02-18 19:23:27 -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
Alex M
79dc9a4fee Add method to read PHY configuration. 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
6caeeae2eb Updated dependencies 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
79b1f52102 Ran cargo fmt 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
1d533b2104 Added a way to consume the Interface object, and easy single-function way to create a network interface with mac and IP 2021-02-18 19:16:16 -08:00
Jonah Dahlquist
3cad9cac57 Renamed W5500 -> Device, added an Interface struct that should implement the embedded-nal traits, used it to internalize the mutability of the device 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
Jonah Dahlquist
b1e83e3d05 Added TODOs for safer sending 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
8aa5656873 Added timeout interrupt bit, fixed several bugs with Socket code, added getters for the TX read/write pointers 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
41cd42eabf added all 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
074e01e3a0 Removed nb from areas where it's not necessary 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
3dbb2d4e64 Made dump_register suppress any errors 2021-02-18 19:12:57 -08:00
Jonah Dahlquist
4ff4bc95c9 Added register_dump function to show the contents of a socket register 2021-02-18 19:12:57 -08:00
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