<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/simtrace2/+/16517">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Build only 'reasonable' combinations of APP/MEMORY<br><br>There's no point in building a DFU loeader that is to be flashed<br>via DFU - nor is there really any need for regular cardem/trace<br>that can be flahsed directly without DFU.  If anyone needs those,<br>they can still build them - but let's not confuse the average other<br>user.<br><br>Change-Id: I0abe86c6a942a59e5b2417d0532dffae654d7a18<br>Closes: OS#4087<br>---<br>M firmware/Makefile<br>1 file changed, 6 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/simtrace2 refs/changes/17/16517/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/firmware/Makefile b/firmware/Makefile</span><br><span>index a684424..79e9a31 100644</span><br><span>--- a/firmware/Makefile</span><br><span>+++ b/firmware/Makefile</span><br><span>@@ -37,12 +37,14 @@</span><br><span> # (can be overriden by adding CHIP=chip and BOARD=board to the command-line)</span><br><span> CHIP  ?= sam3s4</span><br><span> BOARD ?= qmod</span><br><span style="color: hsl(120, 100%, 40%);">+APP ?= dfu</span><br><span> </span><br><span> # Defines which are the available memory targets for the SAM3S-EK board.</span><br><span style="color: hsl(0, 100%, 40%);">-MEMORIES ?= flash dfu</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span style="color: hsl(0, 100%, 40%);">-# Output file basename</span><br><span style="color: hsl(0, 100%, 40%);">-APP ?= dfu</span><br><span style="color: hsl(120, 100%, 40%);">+ifeq ($(APP), dfu)</span><br><span style="color: hsl(120, 100%, 40%);">+MEMORIES ?= flash</span><br><span style="color: hsl(120, 100%, 40%);">+else</span><br><span style="color: hsl(120, 100%, 40%);">+MEMORIES ?= dfu</span><br><span style="color: hsl(120, 100%, 40%);">+endif</span><br><span> </span><br><span> # Output directories and filename</span><br><span> OUTPUT = $(BOARD)-$(APP)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/simtrace2/+/16517">change 16517</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/simtrace2/+/16517"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: simtrace2 </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I0abe86c6a942a59e5b2417d0532dffae654d7a18 </div>
<div style="display:none"> Gerrit-Change-Number: 16517 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>