aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wild <ewild@sysmocom.de>2021-09-26 17:24:49 +0200
committerHoernchen <ewild@sysmocom.de>2021-10-04 15:07:44 +0000
commit301aec51f7a07b126c2944eda2bcd7a6b4b6024e (patch)
tree6c2b7f0d5ebf767ca4c6c6607b8c9ba5f8508ef3
parent1f75e3881c4b8c5f0ff1b88a9bb0aea52d580ad8 (diff)
contrib/jenkins.sh: lower trace to make bl fit
We keep running out of rom space, so reduce tracing to nothing for alle dfu targets, and let's hope newer gcc versions stop producing more code... Change-Id: I7d2947c84097035bed00ad489a175d614b4c388e
-rwxr-xr-xcontrib/jenkins.sh7
-rw-r--r--firmware/Makefile1
2 files changed, 2 insertions, 6 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 5f68cf1..ac0e419 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -40,12 +40,7 @@ for build in $BUILDS; do
app=`echo $build | cut -d "/" -f 2`
echo
echo "=============== $board / $app START =============="
- # reduce the trace level so the bl fits
- if [ $board = "ngff_cardem" ] && [ $app = "dfu" ]; then
- make BOARD="$board" APP="$app" TRACE_LEVEL=2
- else
- make BOARD="$board" APP="$app"
- fi
+ make BOARD="$board" APP="$app"
echo "=============== $board / $app RES:$? =============="
done
diff --git a/firmware/Makefile b/firmware/Makefile
index 2a14025..50ca63f 100644
--- a/firmware/Makefile
+++ b/firmware/Makefile
@@ -50,6 +50,7 @@ APP ?= dfu
# Defines which are the available memory targets for the SAM3S-EK board.
ifeq ($(APP), dfu)
MEMORIES ?= flash dfu
+TRACE_LEVEL ?= 0
else
MEMORIES ?= dfu
endif