--- /dev/null
+#include <stdio.h>
+#include <string.h>
+#include <stdint.h>
+#include <stdlib.h>
+
+
+int main()
+{
+
+ volatile int forever = 1;
+ while (forever);
+
+ return 1;
+}
use_fpu = True
def target(self):
- return testlib.Spike(self.sim_cmd, halted=True)
+ return testlib.Spike(self.sim_cmd)
class Spike32Target(SpikeTarget):
name = "spike32"
xlen = 32
def target(self):
- return testlib.Spike(self.sim_cmd, halted=True, xlen=32)
+ return testlib.Spike(self.sim_cmd, xlen=32)
class FreedomE300Target(Target):
name = "freedom-e300"
gdb_report_data_abort enable
init
-
halt
+
+echo "Ready for Remote Connections"
\ No newline at end of file
cmd += ['--rbb-port', '0']
os.environ['REMOTE_BITBANG_HOST'] = 'localhost'
cmd.append("-m32")
- cmd.append('pk')
+ cmd.append('programs/infinite_loop')
if binary:
cmd.append(binary)
logfile = open(self.logname, "w")
messaged = False
while True:
log = open(Openocd.logname).read()
- if "OK GO NOW" in log:
+ if "Ready for Remote Connections" in log:
break
if not self.process.poll() is None:
raise Exception(