From 997baa67d1b18f0327836ecfbc55652eba1218f2 Mon Sep 17 00:00:00 2001 From: Niclas Finne Date: Thu, 31 May 2012 16:00:11 +0200 Subject: [PATCH] No longer any need to specify memory when loading firmware --- tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/MspMote.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/MspMote.java b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/MspMote.java index 27a213e91..315611eba 100644 --- a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/MspMote.java +++ b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/MspMote.java @@ -214,10 +214,9 @@ public abstract class MspMote extends AbstractEmulatedMote implements Mote, Watc this.myCpu.setMonitorExec(true); this.myCpu.setTrace(0); /* TODO Enable */ - int[] memory = myCpu.memory; logger.info("Loading firmware from: " + fileELF.getAbsolutePath()); GUI.setProgressMessage("Loading " + fileELF.getName()); - node.loadFirmware(((MspMoteType)getType()).getELF(), memory); + node.loadFirmware(((MspMoteType)getType()).getELF()); /* Throw exceptions at bad memory access */ /*myCpu.setThrowIfWarning(true);*/