[riot-notifications] [RIOT-OS/RIOT] boards/single: use FLASHFILE (#11710)

Gaƫtan Harter notifications at github.com
Mon Jun 17 18:38:16 CEST 2019


### Contribution description

Update the boards that do not use a `common` board for their flasher.
Update to use FLASHFILE as file to be flashed on the board.

### Testing procedure

Testing on all the board, or trust the testing without a board.

```
BOARDS=$(git diff --name-status HEAD~5 | cut -f 2 -d/)
echo ${BOARDS}
f4vi1 mbed_lpc1768 opencm904 teensy31 telosb z1
```

### Testing without a board

The output of the FFLAGS is the same on master and this PR.

<details><summary><code>for board in ${BOARDS}; do echo ${board}; BOARD=${board} make --no-print-directory -C examples/hello-world/ FLASHER=true flash-only; done</code></summary><p>

```
for board in ${BOARDS}; do echo ${board}; BOARD=${board} make --no-print-directory -C examples/hello-world/ FLASHER=true flash-only; done
f4vi1
true write /home/harter/work/git/RIOT/examples/hello-world/bin/f4vi1/hello-world.bin 0x8000000
mbed_lpc1768
true /home/harter/work/git/RIOT/examples/hello-world/bin/mbed_lpc1768/hello-world.bin
opencm904
true /dev/ttyACM0 /home/harter/work/git/RIOT/examples/hello-world/bin/opencm904/hello-world.bin
teensy31
true --mcu=mk20dx256 /home/harter/work/git/RIOT/examples/hello-world/bin/teensy31/hello-world.hex
telosb
true --telosb -c /dev/ttyUSB0 -r -e -I -p /home/harter/work/git/RIOT/examples/hello-world/bin/telosb/hello-world.hex
z1
true --z1 -I -c /dev/ttyUSB0 -r -e -p /home/harter/work/git/RIOT/examples/hello-world/bin/z1/hello-world.hex
```

</p></details>

<details><summary><code>for board in ${BOARDS}; do echo ${board}; FLASHFILE=dogo BOARD=${board} make --no-print-directory -C examples/hello-world/ FLASHER=true flash-only; done</code></summary><p>

```
for board in ${BOARDS}; do echo ${board}; FLASHFILE=dogo BOARD=${board} make --no-print-directory -C examples/hello-world/ FLASHER=true flash-only; done
f4vi1
true write dogo 0x8000000
mbed_lpc1768
true dogo
opencm904
true /dev/ttyACM0 dogo
teensy31
true --mcu=mk20dx256 dogo
telosb
true --telosb -c /dev/ttyUSB0 -r -e -I -p dogo
z1
true --z1 -I -c /dev/ttyUSB0 -r -e -p dogo
```

</p></details>

### Issues/PRs references

Part of #8838
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11710

-- Commit Summary --

  * boards/fscopy: use FLASHFILE when using fscopy
  * boards/teensy31: use FLASHFILE for boards using teensy_loader
  * boards/f4vi1: use FLASHFILE for boards using st-flash
  * boards/opencm904: use FLASHFILE for boards using robotis-loader.py
  * boards/goodfet: use FLASHFILE for boards using goodfet.bsl

-- File Changes --

    M boards/f4vi1/Makefile.include (4)
    M boards/mbed_lpc1768/Makefile.include (4)
    M boards/opencm904/Makefile.include (4)
    M boards/teensy31/Makefile.include (3)
    M boards/telosb/Makefile.include (3)
    M boards/z1/Makefile.include (3)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11710.patch
https://github.com/RIOT-OS/RIOT/pull/11710.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11710
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190617/d73b1bcb/attachment.html>


More information about the notifications mailing list