summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-02-29 16:28:56 -0800
committerJosh Blum <josh@joshknows.com>2012-03-23 14:36:55 -0700
commitfe0a5162cd5a08c6cd0b1abdda32abdd18e34bbc (patch)
tree60eef713ae44d10a0840505a0f6fe94739645b8d /firmware
parente4d3f63ce0bb04287a61e9547acfa02a50e84326 (diff)
downloaduhd-fe0a5162cd5a08c6cd0b1abdda32abdd18e34bbc.tar.gz
uhd-fe0a5162cd5a08c6cd0b1abdda32abdd18e34bbc.tar.bz2
uhd-fe0a5162cd5a08c6cd0b1abdda32abdd18e34bbc.zip
usrp2: host and fw implementation for fifo control
Diffstat (limited to 'firmware')
-rw-r--r--firmware/zpu/apps/txrx_uhd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/zpu/apps/txrx_uhd.c b/firmware/zpu/apps/txrx_uhd.c
index a4bfce0ec..591ee135a 100644
--- a/firmware/zpu/apps/txrx_uhd.c
+++ b/firmware/zpu/apps/txrx_uhd.c
@@ -89,6 +89,10 @@ static void handle_udp_data_packet(
which = 1;
break;
+ case USRP2_UDP_FIFO_CRTL_PORT:
+ which = 3;
+ break;
+
default: return;
}
@@ -338,6 +342,7 @@ main(void)
register_udp_listener(USRP2_UDP_RX_DSP0_PORT, handle_udp_data_packet);
register_udp_listener(USRP2_UDP_RX_DSP1_PORT, handle_udp_data_packet);
register_udp_listener(USRP2_UDP_TX_DSP0_PORT, handle_udp_data_packet);
+ register_udp_listener(USRP2_UDP_FIFO_CRTL_PORT, handle_udp_data_packet);
#ifdef USRP2P
register_udp_listener(USRP2_UDP_UPDATE_PORT, handle_udp_fw_update_packet);