From 2be9d18ec457cb0b2e4fc87d97f3013000c7c5e3 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Mon, 3 Mar 2014 06:27:38 -0800 Subject: usrp_burn_mb_eeprom: deprecated --key and --val arguments * New method: --values="key1=value1,key2=value2" * To read key2: --values="key1=value1,key2,key3=value2" * Added --read-all option to read all values in EEPROM without burning * Old arguments still work but print deprecation warning Conflicts: host/docs/usrp_x3x0.rst --- host/docs/gpsdo.rst | 4 ++-- host/docs/identification.rst | 2 +- host/docs/usrp1.rst | 2 +- host/docs/usrp2.rst | 5 ++--- host/docs/usrp_x3x0.rst | 4 ++-- 5 files changed, 8 insertions(+), 9 deletions(-) (limited to 'host/docs') diff --git a/host/docs/gpsdo.rst b/host/docs/gpsdo.rst index 8ffff8672..5afd9d78d 100644 --- a/host/docs/gpsdo.rst +++ b/host/docs/gpsdo.rst @@ -55,10 +55,10 @@ To configure the USRP to communicate with the GPSDO, use the :: cd /lib/uhd/utils - ./usrp_burn_mb_eeprom --args= --key=gpsdo --val=internal + ./usrp_burn_mb_eeprom --args= --values="gpsdo=internal" -- restore original setting -- - ./usrp_burn_mb_eeprom --args= --key=gpsdo --val=none + ./usrp_burn_mb_eeprom --args= --values="gpsdo=none" ------------------------------------------------------------------------ Using the GPSDO in Your Application diff --git a/host/docs/identification.rst b/host/docs/identification.rst index cbae25082..65b4e5e99 100644 --- a/host/docs/identification.rst +++ b/host/docs/identification.rst @@ -112,7 +112,7 @@ Run the following commands: :: cd /lib/uhd/utils - ./usrp_burn_mb_eeprom --args= --key=name --val=lab1_xcvr + ./usrp_burn_mb_eeprom --args= --values="name=lab1_xcvr" ^^^^^^^^^^^^^^^^^^ Discovery via name diff --git a/host/docs/usrp1.rst b/host/docs/usrp1.rst index be74fe00a..ecf90502b 100644 --- a/host/docs/usrp1.rst +++ b/host/docs/usrp1.rst @@ -102,7 +102,7 @@ Run the following commands to record the setting into the EEPROM: :: cd /lib/uhd/utils - ./usrp_burn_mb_eeprom --args= --key=mcr --val= + ./usrp_burn_mb_eeprom --args= --values="mcr=" The user may override the clock rate specified in the EEPROM by using a device address: Example: diff --git a/host/docs/usrp2.rst b/host/docs/usrp2.rst index 361d98f01..1070a23fc 100644 --- a/host/docs/usrp2.rst +++ b/host/docs/usrp2.rst @@ -192,7 +192,7 @@ Run the following commands: :: cd /lib/uhd/utils - ./usrp_burn_mb_eeprom --args= --key=ip-addr --val=192.168.10.3 + ./usrp_burn_mb_eeprom --args= --values="ip-addr=192.168.10.3" **Method 2 (Linux Only):** This method assumes that you do not know the IP address of your USRP2. @@ -360,8 +360,7 @@ Run the following commands: :: cd /lib/uhd/utils - ./usrp_burn_mb_eeprom --args= --key=subnet --val=255.255.255.0 - ./usrp_burn_mb_eeprom --args= --key=gateway --val=192.168.10.1 + ./usrp_burn_mb_eeprom --args= --values="subnet=255.255.255.0,gateway=192.168.10.1" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Create a receive streamer diff --git a/host/docs/usrp_x3x0.rst b/host/docs/usrp_x3x0.rst index 7dd322dbf..cfca09756 100644 --- a/host/docs/usrp_x3x0.rst +++ b/host/docs/usrp_x3x0.rst @@ -447,14 +447,14 @@ Run the following commands: :: cd /lib/uhd/utils - ./usrp_burn_mb_eeprom --args= --key=ip-addr0 --val=192.168.10.3 + ./usrp_burn_mb_eeprom --args= --values="ip-addr0=192.168.10.3" **Windows:** :: cd \lib\uhd\utils - usrp_burn_mb_eeprom.exe --args= --key=ip-addr0 --val=192.168.10.3 + usrp_burn_mb_eeprom.exe --args= --values="ip-addr0=192.168.10.3" --------------------- Addressing the Device -- cgit v1.2.3