Commit graph

5 commits

Author SHA1 Message Date
Sean Cross
686299ce8b emulation: WF200: suppress warning on odd-sized xfer
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>
2024-02-06 10:25:34 +08:00
Sean Cross
5c52fbd522 emulation: fix renode compatibility for peripherals
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>
2023-04-06 10:48:45 +08:00
Sean Cross
4b3d1503e7 renode: place all peripherals under "Betrusted" ns
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>
2022-10-20 22:19:40 +08:00
Sean Cross
b829783e7d emulation: wf200: implement "Disconnect" verb
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 12:00:12 +08:00
Sean Cross
768a7c4b0d emulation: add WF200 ethernet implementation
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>
2022-02-23 21:44:01 +08:00