X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2Fgoodfet;h=ebcbec836b630f0526e72d4226f5d06b07e67a8a;hp=8a510a99e91b833cbbef953aaacc40f3bdadd621;hb=d941137f767ad40f7bf253f6828735b641b52dca;hpb=dbd55dca7cded37fc93f74beb7c3043f11389d6e diff --git a/client/goodfet b/client/goodfet index 8a510a9..ebcbec8 100755 --- a/client/goodfet +++ b/client/goodfet @@ -18,17 +18,14 @@ from intelhex import IntelHex; if(len(sys.argv)==1): print "Usage: %s driver\n" % sys.argv[0]; print "driver:= GoodFETCC GoodFETMSP430"; + print; + print "This is an unfinished client. You probably want goodfet.$chip instead."; sys.exit(1); driver=sys.argv[1]; print "Using driver %s" % driver; client=eval("%s()" % driver); console=GoodFETConsole(client); - -while 1: - sys.stdout.write("gf% "); - sys.stdout.flush(); - cmd=sys.stdin.readline(); - console.handle(cmd); +console.run(); sys.exit(0);