summaryrefslogtreecommitdiff
path: root/usrp2/firmware/lib
diff options
context:
space:
mode:
authoreb2009-01-22 18:29:24 +0000
committereb2009-01-22 18:29:24 +0000
commit1545a741acca4ee45e8cfd889d9152f5db57bd1b (patch)
tree524c57064819185bad56ad33e1c5ed0adc74368f /usrp2/firmware/lib
parentf5fdfe3342750df3092bd0a8d39cb42b4d599012 (diff)
downloadgnuradio-1545a741acca4ee45e8cfd889d9152f5db57bd1b.tar.gz
gnuradio-1545a741acca4ee45e8cfd889d9152f5db57bd1b.tar.bz2
gnuradio-1545a741acca4ee45e8cfd889d9152f5db57bd1b.zip
bumped stack to 3k (not sure we needed to), cleaned up old serdes test
code: eth_serdes.c and serdes_txrx.c, can tx over serdes at interp 4 (underruns quite frequently), same behavior as regular txrx.c git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10291 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/firmware/lib')
-rw-r--r--usrp2/firmware/lib/Makefile.am2
-rw-r--r--usrp2/firmware/lib/memory_map.h10
2 files changed, 11 insertions, 1 deletions
diff --git a/usrp2/firmware/lib/Makefile.am b/usrp2/firmware/lib/Makefile.am
index fdfa2b712..854539c99 100644
--- a/usrp2/firmware/lib/Makefile.am
+++ b/usrp2/firmware/lib/Makefile.am
@@ -90,6 +90,6 @@ noinst_HEADERS = \
u2_init.h \
usrp2_bytesex.h \
wb16550.h
-
+
EXTRA_DIST = \
microblaze.ld
diff --git a/usrp2/firmware/lib/memory_map.h b/usrp2/firmware/lib/memory_map.h
index 756513b91..0519282bb 100644
--- a/usrp2/firmware/lib/memory_map.h
+++ b/usrp2/firmware/lib/memory_map.h
@@ -366,6 +366,16 @@ typedef struct {
#define ADC_CTRL_ON 0x0F
#define ADC_CTRL_OFF 0x00
+// crazy order that matches the labels on the case
+
+#define LED_A (1 << 4)
+#define LED_B (1 << 1)
+#define LED_C (1 << 3)
+#define LED_D (1 << 0)
+#define LED_E (1 << 2)
+// LED_F // controlled by CPLD
+#define LED_RJ45 (1 << 5)
+
#define output_regs ((output_regs_t *) MISC_OUTPUT_BASE)
// --- dsp tx regs ---