summaryrefslogtreecommitdiffstats
path: root/firmware/zpu/usrp2
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-01-10 13:36:36 -0800
committerJosh Blum <josh@joshknows.com>2011-01-10 13:36:36 -0800
commitd52cf5e16d6d3769071da4ae23408ddac300beeb (patch)
tree2c467535099e1e5f5e9861eb062abb00d37dce8b /firmware/zpu/usrp2
parent901bfcbd2bbfe537dead32d08cdf06b7319d9ec6 (diff)
downloaduhd-d52cf5e16d6d3769071da4ae23408ddac300beeb.tar.gz
uhd-d52cf5e16d6d3769071da4ae23408ddac300beeb.tar.bz2
uhd-d52cf5e16d6d3769071da4ae23408ddac300beeb.zip
usrp2: replaced pad argument to gen bins macro with a setting variable, simplifies code
Diffstat (limited to 'firmware/zpu/usrp2')
-rw-r--r--firmware/zpu/usrp2/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/zpu/usrp2/CMakeLists.txt b/firmware/zpu/usrp2/CMakeLists.txt
index db434567d..d126c921c 100644
--- a/firmware/zpu/usrp2/CMakeLists.txt
+++ b/firmware/zpu/usrp2/CMakeLists.txt
@@ -26,10 +26,12 @@ ADD_LIBRARY(libusrp2fw STATIC
)
########################################################################
+SET(GEN_OUTPUTS_BIN_SIZE 0x3fff)
+
ADD_EXECUTABLE(usrp2_txrx_uhd.elf ${CMAKE_SOURCE_DIR}/apps/txrx_uhd.c)
TARGET_LINK_LIBRARIES(usrp2_txrx_uhd.elf libusrp2fw)
-GEN_OUTPUTS(usrp2_txrx_uhd.elf 0x3fff)
+GEN_OUTPUTS(usrp2_txrx_uhd.elf)
ADD_EXECUTABLE(usrp2_blinkenlights.elf ${CMAKE_SOURCE_DIR}/apps/blinkenlights.c)
TARGET_LINK_LIBRARIES(usrp2_blinkenlights.elf libusrp2fw)
-GEN_OUTPUTS(usrp2_blinkenlights.elf 0x3fff)
+GEN_OUTPUTS(usrp2_blinkenlights.elf)