From 77e9cbb40fc22de20f9cd13655fd9c9fce4f40f6 Mon Sep 17 00:00:00 2001 From: Jon Kiser Date: Mon, 2 Feb 2015 17:14:33 -0800 Subject: e300/docs: updated manual with E3x0 audio jack pinout --- host/docs/res/TRRS.png | Bin 0 -> 2955 bytes host/docs/usrp_e3x0.dox | 5 +++++ 2 files changed, 5 insertions(+) create mode 100755 host/docs/res/TRRS.png (limited to 'host/docs') diff --git a/host/docs/res/TRRS.png b/host/docs/res/TRRS.png new file mode 100755 index 000000000..78619c869 Binary files /dev/null and b/host/docs/res/TRRS.png differ diff --git a/host/docs/usrp_e3x0.dox b/host/docs/usrp_e3x0.dox index f93326bee..38bf8d926 100644 --- a/host/docs/usrp_e3x0.dox +++ b/host/docs/usrp_e3x0.dox @@ -362,6 +362,11 @@ For more advanced IMU based applications please refer to the Date: Wed, 11 Feb 2015 16:28:35 -0800 Subject: Creating the $UHD_CONFIG_DIR env var, here used for custom cal data storage. This is a renaming of the previously created $UHDCALIBPATH. --- host/docs/calibration.dox | 18 +++++++++++++----- host/lib/utils/paths.cpp | 2 +- 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'host/docs') diff --git a/host/docs/calibration.dox b/host/docs/calibration.dox index 603ae22e4..eecb7af5c 100644 --- a/host/docs/calibration.dox +++ b/host/docs/calibration.dox @@ -57,15 +57,23 @@ daughterboard's EEPROM: : \subsection calibration_data Calibration Data -Calibration files are stored in the user's home/application directory. -They can easily be moved from machine to another by copying the "cal" -directory. Re-running a calibration utility will replace the existing -calibration file. The old calibration file will be renamed so it may be -recovered by the user. +By default, calibration files are stored in the user's home/application +directory: - **Linux:** `${HOME}/.uhd/cal/` - **Windows:** `%APPDATA%\.uhd\cal\` +If you would like to specify a custom directory, you can do so with the +`$UHD_CONFIG_DIR` environment variable: + +- **Custom (any OS):** `${UHD_CONFIG_DIR}/.uhd/cal/` + +Calibration files can easily be moved from one machine to another by copying the +"cal" directory. Re-running a calibration utility will replace the existing +calibration file. The old calibration file will be renamed so it may be +recovered by the user. + + \subsection ignore_cal_file Ignoring Calibration Files At runtime, the user can choose to ignore a daughterboard's calibration file by adding "ignore-cal-file" to the arguments. With the UHD API, it can be done as follows: diff --git a/host/lib/utils/paths.cpp b/host/lib/utils/paths.cpp index 235c2607d..88bd25fbd 100644 --- a/host/lib/utils/paths.cpp +++ b/host/lib/utils/paths.cpp @@ -173,7 +173,7 @@ std::string uhd::get_tmp_path(void){ } std::string uhd::get_app_path(void){ - const std::string uhdcalib_path = get_env_var("UHDCALIBPATH"); + const std::string uhdcalib_path = get_env_var("UHD_CONFIG_DIR"); if (not uhdcalib_path.empty()) return uhdcalib_path; const std::string appdata_path = get_env_var("APPDATA"); -- cgit v1.2.3