From 301aec51f7a07b126c2944eda2bcd7a6b4b6024e Mon Sep 17 00:00:00 2001 From: Eric Wild Date: Sun, 26 Sep 2021 17:24:49 +0200 Subject: 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 --- contrib/jenkins.sh | 7 +------ firmware/Makefile | 1 + 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 -- cgit v1.2.3