From 80f783416eb1805453ee10c2433ac66044f9179f Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 7 May 2024 23:41:33 +0800 Subject: [PATCH] remove the EC from the swap test config this saves a little bit of startup time and CPU cycles --- emulation/betrusted-swap.resc | 28 ---------------------------- emulation/xous-swap.resc | 8 ++++---- 2 files changed, 4 insertions(+), 32 deletions(-) diff --git a/emulation/betrusted-swap.resc b/emulation/betrusted-swap.resc index 98407ce5a..6fff9a82f 100644 --- a/emulation/betrusted-swap.resc +++ b/emulation/betrusted-swap.resc @@ -118,32 +118,4 @@ runMacro $reset mach clear -############### Define the Betrusted EC ############### -mach create "EC" -machine LoadPlatformDescription @ec/betrusted-ec.repl - -# logLevel -1 i2c -# logLevel -1 i2c.bq27421 -# logLevel -1 wifi -# logLevel 0 wifi.wf200 -# sysbus LogPeripheralAccess wifi true - -machine StartGdbServer 3334 true -showAnalyzer uart - -# Connect the EC to the SPI bus -connector Connect sysbus.com com - -macro reset -""" - sysbus LoadBinary @ec/bt-ec.bin 0x20000000 - sysbus LoadBinary @ec/wf200_fw.bin 0x2009C000 - sysbus LoadBinary @ec/loader.bin 0x00000000 - cpu PC 0 - cpu SP 0x1001FFFC -""" -runMacro $reset - -mach clear - start diff --git a/emulation/xous-swap.resc b/emulation/xous-swap.resc index 56a8bd7d2..93cb064b2 100644 --- a/emulation/xous-swap.resc +++ b/emulation/xous-swap.resc @@ -1,10 +1,10 @@ i @emulation/betrusted-swap.resc -i @emulation/linux-server.resc +# i @emulation/linux-server.resc # Connect EC to the switch -mach set "EC" -connector Connect sysbus.wifi.wf200 switch -mach clear +# mach set "EC" +# connector Connect sysbus.wifi.wf200 switch +# mach clear start \ No newline at end of file