summaryrefslogtreecommitdiff
path: root/controller/fw/Makefile
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-09 10:17:14 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-09 10:17:14 +0100
commitb4d5293d045d68822ad5b2d0a7a5f392c596a0ba (patch)
tree39b89c79026d295ef5ab26ec271c27a00abc5d94 /controller/fw/Makefile
parent55ebbcbdbc6d9513012a60a143c92eddb90f631d (diff)
downloadmaster-thesis-b4d5293d045d68822ad5b2d0a7a5f392c596a0ba.tar.gz
master-thesis-b4d5293d045d68822ad5b2d0a7a5f392c596a0ba.tar.bz2
master-thesis-b4d5293d045d68822ad5b2d0a7a5f392c596a0ba.zip
decoding WIP
Diffstat (limited to 'controller/fw/Makefile')
-rw-r--r--controller/fw/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/controller/fw/Makefile b/controller/fw/Makefile
index 3b9cca6..c549e47 100644
--- a/controller/fw/Makefile
+++ b/controller/fw/Makefile
@@ -52,11 +52,14 @@ FMEAS_SAMPLING_RATE ?= 10.0
DSSS_GOLD_CODE_NBITS ?= 5
DSSS_DECIMATION ?= 10
# TODO maybe auto adjust this based on detection rate?
-DSSS_THESHOLD_FACTOR ?= 5.0f
+DSSS_THESHOLD_FACTOR ?= 6.0f
DSSS_WAVELET_WIDTH ?= 7.3
DSSS_WAVELET_LUT_SIZE ?= 69
DSSS_FILTER_FC ?= 3e-3
DSSS_FILTER_ORDER ?= 12
+DSSS_GROUP_CACHE_SIZE ?= 12
+
+PAYLOAD_DATA_BIT ?= 64
CC := $(PREFIX)gcc
CXX := $(PREFIX)g++
@@ -102,6 +105,8 @@ COMMON_CFLAGS += -DDSSS_DECIMATION=$(DSSS_DECIMATION)
COMMON_CFLAGS += -DDSSS_THESHOLD_FACTOR=$(DSSS_THESHOLD_FACTOR)
COMMON_CFLAGS += -DDSSS_WAVELET_WIDTH=$(DSSS_WAVELET_WIDTH)
COMMON_CFLAGS += -DDSSS_WAVELET_LUT_SIZE=$(DSSS_WAVELET_LUT_SIZE)
+COMMON_CFLAGS += -DDSSS_GROUP_CACHE_SIZE=$(DSSS_GROUP_CACHE_SIZE)
+COMMON_CFLAGS += -DPAYLOAD_DATA_BIT=$(PAYLOAD_DATA_BIT)
# for musl
CFLAGS += -Dhidden=