From b4d5293d045d68822ad5b2d0a7a5f392c596a0ba Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 9 Mar 2020 10:17:14 +0100 Subject: decoding WIP --- controller/fw/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'controller/fw/Makefile') 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= -- cgit