summaryrefslogtreecommitdiff
path: root/usrp2/firmware/apps
diff options
context:
space:
mode:
authormatt2008-11-09 22:53:28 +0000
committermatt2008-11-09 22:53:28 +0000
commit4e633f8926cf87b63694a5c3015d669040cf69e0 (patch)
tree81a0d9cab6d346e0bc5649f34c085ec1285f892d /usrp2/firmware/apps
parent5bb2cdf91cf8ca51525b6eb91b2e9219fdcf40ee (diff)
downloadgnuradio-4e633f8926cf87b63694a5c3015d669040cf69e0.tar.gz
gnuradio-4e633f8926cf87b63694a5c3015d669040cf69e0.tar.bz2
gnuradio-4e633f8926cf87b63694a5c3015d669040cf69e0.zip
more thorough test
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9963 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/apps')
-rw-r--r--usrp2/firmware/apps/factory_test.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usrp2/firmware/apps/factory_test.c b/usrp2/firmware/apps/factory_test.c
index b4b40b9f4..cd0a645cc 100644
--- a/usrp2/firmware/apps/factory_test.c
+++ b/usrp2/firmware/apps/factory_test.c
@@ -37,6 +37,7 @@
#include <string.h>
#include <i2c.h>
#include <usrp2_i2c_addr.h>
+#include <clocks.h>
#define HW_REV_MAJOR 3
#define HW_REV_MINOR 0
@@ -277,10 +278,13 @@ main(void)
print_mac_addr(ethernet_mac_addr()->addr);
newline();
+ output_regs->led_src = 0x7; // make bottom 3 controlled by HW
+
ethernet_register_link_changed_callback(link_changed_callback);
ethernet_init();
-
+ clocks_enable_tx_dboard(true,1);
+ clocks_mimo_config(MC_WE_LOCK_TO_SMA);
#if 0
// make bit 15 of Tx gpio's be a s/w output
hal_gpio_set_sel(GPIO_TX_BANK, 15, 's');