From: travisutk Date: Mon, 24 Sep 2012 09:25:47 +0000 (+0000) Subject: Now either apimote1 or apimote works as apimote name. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=24d088eef312fd62fdbe15f08affba24ce498edb;hp=db9bb1922d4093829cb9d7eb9d37a2dbce96b0ae Now either apimote1 or apimote works as apimote name. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1266 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- diff --git a/client/GoodFET.py b/client/GoodFET.py index 05c2045..74f6e5d 100755 --- a/client/GoodFET.py +++ b/client/GoodFET.py @@ -205,7 +205,7 @@ class GoodFET: self.telosBReset(); elif (os.environ.get("board")=='zolertiaz1' or os.environ.get("board")=='z1'): self.bslResetZ1(invokeBSL=0); - elif (os.environ.get("board")=='apimote1'): + elif (os.environ.get("board")=='apimote1') or (os.environ.get("board")=='apimote'): #Explicitly set RTS and DTR to halt board. self.serialport.setRTS(1); self.serialport.setDTR(1);