From 1545a741acca4ee45e8cfd889d9152f5db57bd1b Mon Sep 17 00:00:00 2001 From: eb Date: Thu, 22 Jan 2009 18:29:24 +0000 Subject: 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 --- usrp2/firmware/lib/Makefile.am | 2 +- usrp2/firmware/lib/memory_map.h | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'usrp2/firmware/lib') 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 --- -- cgit