]> git.gag.com Git - debian/gnuradio/blobdiff - usrp2/firmware/apps/factory_test.c
more thorough test
[debian/gnuradio] / usrp2 / firmware / apps / factory_test.c
index b4b40b9f4f7b12668f924e220a971d45e0fd0688..cd0a645ccbd1ae2193a48d6a3777dac8d1a790ba 100644 (file)
@@ -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');