diff options
author | Nick Foster <nick@nerdnetworks.org> | 2011-04-21 16:11:26 -0700 |
---|---|---|
committer | Nick Foster <nick@nerdnetworks.org> | 2011-04-21 16:12:53 -0700 |
commit | f9080d0a3f7d6b0478150581a0c2e8af3f4e3c95 (patch) | |
tree | f49a4b7b13a41f71750aa977bfa43db6e4cc0240 /host/utils/usrp_n2xx_net_burner.py | |
parent | 03a609173ac90bf518b645893bd8211f02209846 (diff) | |
download | uhd-f9080d0a3f7d6b0478150581a0c2e8af3f4e3c95.tar.gz uhd-f9080d0a3f7d6b0478150581a0c2e8af3f4e3c95.tar.bz2 uhd-f9080d0a3f7d6b0478150581a0c2e8af3f4e3c95.zip |
N210: UDP bootloader
Diffstat (limited to 'host/utils/usrp_n2xx_net_burner.py')
-rwxr-xr-x | host/utils/usrp_n2xx_net_burner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/utils/usrp_n2xx_net_burner.py b/host/utils/usrp_n2xx_net_burner.py index 6c2939cd4..06af8c860 100755 --- a/host/utils/usrp_n2xx_net_burner.py +++ b/host/utils/usrp_n2xx_net_burner.py @@ -358,7 +358,7 @@ if __name__=='__main__': if options.overwrite_safe and not options.read: print("Are you REALLY, REALLY sure you want to overwrite the safe image? This is ALMOST ALWAYS a terrible idea.") print("If your image is faulty, your USRP2+ will become a brick until reprogrammed via JTAG.") - response = input("""Type "yes" to continue, or anything else to quit: """) + response = raw_input("""Type "yes" to continue, or anything else to quit: """) if response != "yes": sys.exit(0) burner = burner_socket(addr=options.addr) @@ -367,7 +367,7 @@ if __name__=='__main__': if options.fw: file = options.fw if os.path.isfile(file): - response = input("File already exists -- overwrite? (y/n) ") + response = raw_input("File already exists -- overwrite? (y/n) ") if response != "y": sys.exit(0) size = FW_IMAGE_SIZE_BYTES addr = SAFE_FW_IMAGE_LOCATION_ADDR if options.overwrite_safe else PROD_FW_IMAGE_LOCATION_ADDR |