The WF200 is connected via an 8-bit bus, but data is transferred in
chunks of 16-bits. That means that sometimes an extra byte is
transferred.
Suppress the warning that would occur when this happens to avoid
confusion.
Signed-off-by: Sean Cross <sean@xobs.io>
Many of the devicse have changed from `uint` to `ulong`, so forward-port
the peripherals to work with the new format.
Signed-off-by: Sean Cross <sean@xobs.io>
Give a "Betrusted" namespace to all of the peripherals. This will enable
us to upstream various modules without breaking compatibility with our
own versions of these peripherals.
Signed-off-by: Sean Cross <sean@xobs.io>
This adds a working Ethernet implementation based on the WF200. It
currently gets connected to a Linux machine running a udhcpd server,
however it could also get connected to a TUN/TAP connection on Linux or
Mac.
Signed-off-by: Sean Cross <sean@xobs.io>