From 402d4538783ee7a048809dfa0ce923eca9d3f868 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Wed, 27 Jul 2016 16:05:09 -0700 Subject: [PATCH] Rename m2gl_m2s to freedom-e300. (#19) It's possible to flash the Freedom E300 onto different FPGA boards, and then debug them in the exact same way. --- debug/gdbserver.py | 6 +++--- debug/targets/{m2gl_m2s => freedom-e300}/link.lds | 0 debug/targets/{m2gl_m2s => freedom-e300}/openocd.cfg | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename debug/targets/{m2gl_m2s => freedom-e300}/link.lds (100%) rename debug/targets/{m2gl_m2s => freedom-e300}/openocd.cfg (100%) diff --git a/debug/gdbserver.py b/debug/gdbserver.py index 1d5c60e..a3f8153 100755 --- a/debug/gdbserver.py +++ b/debug/gdbserver.py @@ -505,8 +505,8 @@ class Spike32Target(SpikeTarget): def server(self): return testlib.Spike(parsed.cmd, halted=True, xlen=32) -class MicroSemiTarget(Target): - name = "m2gl_m2s" +class FreedomE300Target(Target): + name = "freedom-e300" xlen = 32 ram = 0x80000000 ram_size = 16 * 1024 @@ -519,7 +519,7 @@ class MicroSemiTarget(Target): targets = [ Spike32Target, Spike64Target, - MicroSemiTarget + FreedomE300Target ] def main(): diff --git a/debug/targets/m2gl_m2s/link.lds b/debug/targets/freedom-e300/link.lds similarity index 100% rename from debug/targets/m2gl_m2s/link.lds rename to debug/targets/freedom-e300/link.lds diff --git a/debug/targets/m2gl_m2s/openocd.cfg b/debug/targets/freedom-e300/openocd.cfg similarity index 100% rename from debug/targets/m2gl_m2s/openocd.cfg rename to debug/targets/freedom-e300/openocd.cfg -- 2.30.2