aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/usrp_burn_mb_eeprom.cpp
Commit message (Collapse)AuthorAgeFilesLines
* host: Update code base using clang-tidyMartin Braun2021-03-041-1/+1
| | | | | | | | | The checks from the new clang-tidy file are applied to the source tree using: $ find . -name "*.cpp" | sort -u | xargs \ --max-procs 8 --max-args 1 clang-tidy --format-style=file \ --fix -p /path/to/compile_commands.json
* utils: usrp_burn_mb_eeprom: Avoid EEPROM write in read only casesteviez2020-04-151-17/+19
| | | | | | The usrp_burn_mb_eeprom previously updated the EEPROM at the end of the script, regardless of whether any values were actually specified for write. This skips the EEPROM write for read only usage.
* uhd: mpm: apply clang-format to all filesBrent Stapleton2019-01-161-25/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applying formatting changes to all .cpp and .hpp files in the following directories: ``` find host/examples/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/tests/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/neon/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/dboard/magnesium/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/device3/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/mpmd/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/lib/usrp/x300/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find host/utils/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file find mpm/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Also formatted host/include/, except Cpp03 was used as a the language standard instead of Cpp11. ``` sed -i 's/ Cpp11/ Cpp03/g' .clang-format find host/include/ -iname *.hpp -o -iname *.cpp | \ xargs clang-format -i -style=file ``` Formatting style was designated by the .clang-format file.
* examples: utils: skip formatting program optionsBrent Stapleton2019-01-161-0/+2
| | | | | | Turning off clang formatting around the program option declarations. clang-format makes them looks bad an unreadable because it thinks the options are function calls or something.
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* utils: Removed deprecated options from mb eeprom and simple net burner.Martin Braun2014-10-091-18/+7
|
* usrp_burn_mb_eeprom: write all changes to EEPROM at onceNicholas Corgan2014-07-281-2/+3
| | | | * Manually applied 1f848914a09795a37156968cc7a5dd11fcb869d3 to master due to merge conflict
* OctoClock firmware upgrade, added host driverNicholas Corgan2014-07-231-1/+1
| | | | | | | | | | * OctoClock can communicate with UHD over Ethernet * Can read NMEA strings from GPSDO and send to host * Added multi_usrp_clock class for clock devices * uhd::device can now filter to return only USRP devices or clock devices * New OctoClock bootloader can accept firmware download over Ethernet * Added octoclock_burn_eeprom,octoclock_firmware_burner utilities * Added test_clock_synch example to show clock API
* usrp_burn_mb_eeprom: deprecated --key and --val argumentsNicholas Corgan2014-04-111-19/+32
| | | | | | | | | | * 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
* usrp_burn_mb_eeprom: removed unnecessary if-statement and fixed whitespace issueNicholas Corgan2013-11-011-12/+13
|
* utils: usrp_burn_mb_eeprom can now burn multiple EEPROM valuesNicholas Corgan2013-10-311-10/+26
| | | | | | * example: usrp_burn_mb_eeprom --key="name,ip-addr" --val="my_usrp,192.168.10.3" * As before, omitting the --val argument will just read off all named keys * If number of given keys and vals don't match, the util will throw an error
* examples & utils: return EXIT_FAILURE and EXIT_SUCCESS respectivelyMoritz Fischer2012-10-261-3/+3
| | | | instead of 0 and 1.
* uhd: replace cast in usrp_burn_mb_eeprom to be like other apps (fixes ubuntu ↵Josh Blum2011-08-181-1/+1
| | | | 10.4 compiler bug)
* uhd: implement prop tree usage in utilsJosh Blum2011-06-291-7/+4
|
* uhd: for eeprom writeback, write and set only those values changedJosh Blum2010-11-051-11/+13
|
* usrp: replaced device specific burner apps with one generic one for mboard ↵Josh Blum2010-11-041-0/+79
eeproms