From 4e633f8926cf87b63694a5c3015d669040cf69e0 Mon Sep 17 00:00:00 2001 From: matt Date: Sun, 9 Nov 2008 22:53:28 +0000 Subject: more thorough test git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9963 221aa14e-8319-0410-a670-987f0aec2ac5 --- usrp2/firmware/apps/factory_test.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'usrp2/firmware/apps/factory_test.c') 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 #include #include +#include #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'); -- cgit