mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
emulation: add separate TAP and Linux implementations
Add one script that starts up a TAP connection as well as a second one that uses a native Linux machine. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
86c4a6813d
commit
b5a858938a
2 changed files with 17 additions and 0 deletions
13
emulation/xous-release-tap.resc
Normal file
13
emulation/xous-release-tap.resc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
i @emulation/betrusted.resc
|
||||
|
||||
# Create network
|
||||
emulation CreateSwitch "switch"
|
||||
emulation CreateTap "renodetap" "tap"
|
||||
connector Connect host.tap switch
|
||||
|
||||
# Connect EC to the switch
|
||||
mach set "EC"
|
||||
connector Connect sysbus.wifi.wf200 switch
|
||||
mach clear
|
||||
|
||||
start
|
||||
4
emulation/xous-release.resc
Normal file
4
emulation/xous-release.resc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
i @emulation/betrusted.resc
|
||||
i @emulation/linux-server.resc
|
||||
|
||||
start
|
||||
Loading…
Reference in a new issue