From aa8bba40c142b6f038d55b7f81c829b6c9f1b1eb Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 26 Mar 2013 11:16:13 -0700 Subject: uhd: update version to 3.5.2 for patch release --- host/cmake/Modules/UHDVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') diff --git a/host/cmake/Modules/UHDVersion.cmake b/host/cmake/Modules/UHDVersion.cmake index 6c2d7e36e..a31acac3f 100644 --- a/host/cmake/Modules/UHDVersion.cmake +++ b/host/cmake/Modules/UHDVersion.cmake @@ -27,7 +27,7 @@ FIND_PACKAGE(Git QUIET) ######################################################################## SET(UHD_VERSION_MAJOR 003) SET(UHD_VERSION_MINOR 005) -SET(UHD_VERSION_PATCH 001) +SET(UHD_VERSION_PATCH 002) ######################################################################## # Set up DLL resource version numbers -- cgit v1.2.3 From 64db4563fd19b2211e814490a30d3d95204467e2 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Mon, 25 Mar 2013 14:03:46 -0700 Subject: utils: usrp_n2xx_simple_net_burner now has option to automatically reboot --- host/utils/usrp_n2xx_simple_net_burner.cpp | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'host') diff --git a/host/utils/usrp_n2xx_simple_net_burner.cpp b/host/utils/usrp_n2xx_simple_net_burner.cpp index 901842538..9f5700d9b 100644 --- a/host/utils/usrp_n2xx_simple_net_burner.cpp +++ b/host/utils/usrp_n2xx_simple_net_burner.cpp @@ -1,5 +1,5 @@ // -// Copyright 2012 Ettus Research LLC +// Copyright 2012-2013 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -368,6 +368,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ ("fpga", po::value(&fpga_path), "Specify a filepath for a custom FPGA image.") ("no_fw", "Do not burn a firmware image.") ("no_fpga", "Do not burn an FPGA image.") + ("auto_reboot", "Automatically reboot N2XX without prompting.") ("list", "List available N2XX USRP devices.") ; po::variables_map vm; @@ -388,6 +389,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ bool use_custom_fpga = (vm.count("fpga") > 0); bool use_custom_fw = (vm.count("fw") > 0); bool list_usrps = (vm.count("list") > 0); + bool auto_reboot = (vm.count("auto_reboot") > 0); if(!burn_fpga && !burn_fw){ std::cout << "No images will be burned." << std::endl; @@ -501,16 +503,19 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ verify_image(udp_transport, true, fw_image, flash_info[1], fw_image_size); } - //Prompt user to reset USRP - std::string user_response = "foo"; - bool reset = false; - while(user_response != "y" and user_response != "" and user_response != "n"){ - std::cout << std::endl << "Image burning successful. Reset USRP (Y/n)? "; - std::getline(std::cin, user_response); - std::transform(user_response.begin(), user_response.end(), user_response.begin(), ::tolower); - reset = (user_response == "" or user_response == "y"); + //Reset USRP N2XX + bool reset; + if(auto_reboot) reset = true; + else{ + std::string user_response = "foo"; + while(user_response != "y" and user_response != "" and user_response != "n"){ + std::cout << std::endl << "Image burning successful. Reset USRP (Y/n)? "; + std::getline(std::cin, user_response); + std::transform(user_response.begin(), user_response.end(), user_response.begin(), ::tolower); + reset = (user_response == "" or user_response == "y"); + } + std::cout << std::endl; //Formatting } - std::cout << std::endl; //Formatting if(reset) reset_usrp(udp_transport); else return EXIT_SUCCESS; -- cgit v1.2.3 From 0cce80c1ef2bcdb5094d579a6853261cebd2ec03 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Tue, 26 Mar 2013 14:29:58 -0700 Subject: uhd: updated UHD_IMAGES_DOWNLOAD_SRC for 3.5.2 --- host/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 6d4cf051f..304ce8361 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -198,7 +198,7 @@ INSTALL(FILES # Images download directory for utils/uhd_images_downloader.py ######################################################################## -SET(UHD_IMAGES_DOWNLOAD_SRC "http://files.ettus.com/binaries/maint_images/archive/uhd-images_003.005.001-release.zip") +SET(UHD_IMAGES_DOWNLOAD_SRC "http://files.ettus.com/binaries/maint_images/archive/uhd-images_003.005.002-release.zip") ######################################################################## # Register top level components -- cgit v1.2.3