From 96c480ea5447dc7172ad56ca895dbed54070b8b0 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 20 Apr 2020 14:03:35 +0200 Subject: fw sim: Update for uni servers --- controller/fw/Makefile | 4 +--- controller/fw/tools/dsss_demod_test_runner.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'controller/fw') 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] -- cgit