Change in simtrace2[master]: contrib/jenkins.sh: lower trace to make bl fit

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Mon Oct 4 16:05:08 UTC 2021


Hoernchen has submitted this change. ( https://gerrit.osmocom.org/c/simtrace2/+/25606 )

Change subject: contrib/jenkins.sh: lower trace to make bl fit
......................................................................

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
---
M contrib/jenkins.sh
M firmware/Makefile
2 files changed, 2 insertions(+), 6 deletions(-)

Approvals:
  Jenkins Builder: Verified
  osmith: Looks good to me, approved



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 @@
 	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 @@
 # 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

-- 
To view, visit https://gerrit.osmocom.org/c/simtrace2/+/25606
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: simtrace2
Gerrit-Branch: master
Gerrit-Change-Id: I7d2947c84097035bed00ad489a175d614b4c388e
Gerrit-Change-Number: 25606
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211004/a6b40e4f/attachment.htm>


More information about the gerrit-log mailing list