<h3>Contribution description</h3>
<p>Update to use FLASHFILE as file to be flashed on the board.</p>
<h3>Testing procedure</h3>
<p>You can flash on a board using <code>mspdebug</code>.</p>
<pre><code>MSPDEBUG_BOARDS=$(git grep -l -e  mspdebug -e common/msb-430 -e common/wsn430 '*' ':!boards/common' | cut -f 2 -d/ | sort -u)
echo ${MSPDEBUG_BOARDS} 
chronos msb-430 msb-430h wsn430-v1_3b wsn430-v1_4
</code></pre>
<h3>Testing without a board</h3>
<p>The output of the FFLAGS is the same on master and this PR.</p>
<details><summary><code>for board in ${MSPDEBUG_BOARDS}; do echo ${board}; BOARD=${board} make --no-print-directory -C examples/hello-world/ FLASHER=true flash-only; done</code></summary><p>
</p><pre><code>for board in ${MSPDEBUG_BOARDS}; do echo ${board}; BOARD=${board} make --no-print-directory -C examples/hello-world/ FLASHER=true flash-only; done
chronos
true rf2500 "prog /home/harter/work/git/RIOT/examples/hello-world/bin/chronos/hello-world.hex"
msb-430
true -j olimex "prog /home/harter/work/git/RIOT/examples/hello-world/bin/msb-430/hello-world.hex"
msb-430h
true -j olimex "prog /home/harter/work/git/RIOT/examples/hello-world/bin/msb-430h/hello-world.hex"
wsn430-v1_3b
true -d /dev/ttyUSB0 -j uif "prog /home/harter/work/git/RIOT/examples/hello-world/bin/wsn430-v1_3b/hello-world.hex"
wsn430-v1_4
true -d /dev/ttyUSB0 -j uif "prog /home/harter/work/git/RIOT/examples/hello-world/bin/wsn430-v1_4/hello-world.hex"
</code></pre>
<p></p></details>
<p>And the value can be changed from environment variable:</p>
<details><summary><code>for board in ${MSPDEBUG_BOARDS}; do echo ${board}; FLASHFILE=toto BOARD=${board} make --no-print-directory -C examples/hello-world/ FLASHER=true flash-only; done</code></summary><p>
</p><pre><code>for board in ${MSPDEBUG_BOARDS}; do echo ${board}; FLASHFILE=toto BOARD=${board} make --no-print-directory -C examples/hello-world/ FLASHER=true flash-only; done
chronos
true rf2500 "prog toto"
msb-430
true -j olimex "prog toto"
msb-430h
true -j olimex "prog toto"
wsn430-v1_3b
true -d /dev/ttyUSB0 -j uif "prog toto"
wsn430-v1_4
true -d /dev/ttyUSB0 -j uif "prog toto"
</code></pre>
<p></p></details>
<h3>Issues/PRs references</h3>
<p>Part of <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="308966540" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/8838" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/8838/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/8838">#8838</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/11708'>https://github.com/RIOT-OS/RIOT/pull/11708</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>boards/mspdebug: use FLASHFILE for boards using mspdebug</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11708/files#diff-0">boards/chronos/Makefile.include</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11708/files#diff-1">boards/common/msb-430/Makefile.include</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11708/files#diff-2">boards/common/wsn430/Makefile.include</a>
    (3)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11708.patch'>https://github.com/RIOT-OS/RIOT/pull/11708.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11708.diff'>https://github.com/RIOT-OS/RIOT/pull/11708.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11708?email_source=notifications&email_token=ABE7WYAK53IQIEHMBW7ODFLP26ZLDA5CNFSM4HYYEPHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZ5SP7Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBBJZ3SDT4OHYLAY7LP26ZLDANCNFSM4HYYEPHA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYD3GNOFTQRKXJBVM5DP26ZLDA5CNFSM4HYYEPHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZ5SP7Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11708?email_source=notifications\u0026email_token=ABE7WYAK53IQIEHMBW7ODFLP26ZLDA5CNFSM4HYYEPHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZ5SP7Q",
"url": "https://github.com/RIOT-OS/RIOT/pull/11708?email_source=notifications\u0026email_token=ABE7WYAK53IQIEHMBW7ODFLP26ZLDA5CNFSM4HYYEPHKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZ5SP7Q",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>