summaryrefslogtreecommitdiffstats
path: root/firmware/zpu/lib
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2011-09-08 16:42:21 -0700
committerJosh Blum <josh@joshknows.com>2011-09-28 10:32:05 -0700
commit18a3f03c06c65d79e5c4b7ac1076077c4b9fd8ff (patch)
treea8ff89d12c47a658d1f66055d70395beb84bc819 /firmware/zpu/lib
parentc2122833e25ffe6e8e6918874afe7a3c9a92bc87 (diff)
downloaduhd-18a3f03c06c65d79e5c4b7ac1076077c4b9fd8ff.tar.gz
uhd-18a3f03c06c65d79e5c4b7ac1076077c4b9fd8ff.tar.bz2
uhd-18a3f03c06c65d79e5c4b7ac1076077c4b9fd8ff.zip
ZPU/USRP2: first stab at UDP UART firmware
Diffstat (limited to 'firmware/zpu/lib')
-rw-r--r--firmware/zpu/lib/CMakeLists.txt1
-rw-r--r--firmware/zpu/lib/net_common.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/firmware/zpu/lib/CMakeLists.txt b/firmware/zpu/lib/CMakeLists.txt
index 193d63cfa..ce6b7fa44 100644
--- a/firmware/zpu/lib/CMakeLists.txt
+++ b/firmware/zpu/lib/CMakeLists.txt
@@ -44,4 +44,5 @@ SET(COMMON_SRCS
${CMAKE_SOURCE_DIR}/lib/net_common.c
${CMAKE_SOURCE_DIR}/lib/arp_cache.c
${CMAKE_SOURCE_DIR}/lib/banal.c
+ ${CMAKE_SOURCE_DIR}/lib/udp_uart.c
)
diff --git a/firmware/zpu/lib/net_common.c b/firmware/zpu/lib/net_common.c
index 9a3f8c5a5..698ed97f4 100644
--- a/firmware/zpu/lib/net_common.c
+++ b/firmware/zpu/lib/net_common.c
@@ -42,7 +42,7 @@
static const bool debug = false;
static const size_t out_buff_size = 2048;
static const eth_mac_addr_t BCAST_MAC_ADDR = {{0xff, 0xff, 0xff, 0xff, 0xff, 0xff}};
-#define MAX_UDP_LISTENERS 6
+#define MAX_UDP_LISTENERS 10
/***********************************************************************
* 16-bit one's complement sum