summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules2
-rw-r--r--controller/fw/Makefile4
-rw-r--r--controller/fw/tools/dsss_demod_test_runner.py2
3 files changed, 3 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules
index 9da9307..8fde57c 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -6,7 +6,7 @@
url = https://github.com/dlbeer/mspdebug
[submodule "controller/fw/cmsis"]
path = controller/fw/cmsis
- url = https://github.com/ARM-software/CMSIS_5
+ url = https://git.jaseg.net/bigdata/pub/safety-reset-cmsis.git
[submodule "controller/fw/libsodium"]
path = controller/fw/libsodium
url = https://github.com/jedisct1/libsodium
diff --git a/controller/fw/Makefile b/controller/fw/Makefile
index 80a6db2..ab9d66c 100644
--- a/controller/fw/Makefile
+++ b/controller/fw/Makefile
@@ -3,8 +3,6 @@
# Dependency directories
########################################################################################################################
-$(info $(shell env))
-
CUBE_DIR ?= STM32CubeF4
CMSIS_DIR ?= cmsis
MSPDEBUG_DIR ?= mspdebug
@@ -210,7 +208,7 @@ $(BUILDDIR)/generated/dsss_gold_code.h: $(BUILDDIR)/generated/gold_code_$(DSSS_G
ln -srf $< $@
.PRECIOUS: $(BUILDDIR)/generated/gold_code_%.c $(BUILDDIR)/generated/gold_code_%.h
-$(BUILDDIR)/generated/gold_code_%.c $(BUILDDIR)/generated/gold_code_%.h &: | $(BUILDDIR)/generated
+$(BUILDDIR)/generated/gold_code_%.c $(BUILDDIR)/generated/gold_code_%.h&: | $(BUILDDIR)/generated
$(PYTHON3) tools/gold_code_header_gen.py -v dsss_gold_code_table -c $* > $(BUILDDIR)/generated/gold_code_$*.c
$(PYTHON3) tools/gold_code_header_gen.py -v dsss_gold_code_table -h $* > $(BUILDDIR)/generated/gold_code_$*.h
diff --git a/controller/fw/tools/dsss_demod_test_runner.py b/controller/fw/tools/dsss_demod_test_runner.py
index c0f737d..51fc09b 100644
--- a/controller/fw/tools/dsss_demod_test_runner.py
+++ b/controller/fw/tools/dsss_demod_test_runner.py
@@ -101,7 +101,7 @@ def run_test(seed, amplitude_spec, background, nbits, decimation, symbols, thfs,
proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, text=True)
stdout, _stderr = proc.communicate()
if proc.returncode != 0:
- raise SystemError(f'Subprocess signalled error: {proc.returncode=}')
+ raise SystemError(f'Subprocess signalled error: {proc.returncode}')
lines = stdout.splitlines()
matched = [ l.partition('[')[2].partition(']')[0]