[riot-notifications] [RIOT-OS/RIOT] tests/riotboot: use FLASHFILE for the generated file (#11089)

Gaƫtan Harter notifications at github.com
Tue Mar 5 12:11:55 CET 2019


I added a commit in this one that will handle flashers using `FLASHFILE`. I thought about putting it in another PR but it makes more sense to have it already here I think.

It cannot be tested by replacing the flasher with `echo $(FLASHFILE)` and seeing the file being printed:

```
RIOT_CI_BUILD=1 BOARD=samr21-xpro make --no-print-directory -C tests/riotboot riotboot/flash-slot0 riotboot/flash-slot1 riotboot/flash-extended-slot0 riotboot/flash-combined-slot0 FLASHER=echo FFLAGS='FLASHFILE: $(FLASHFILE)'
...
compiling /home/harter/work/git/RIOT/dist/tools/riotboot_gen_hdr/bin/genhdr...
make: Nothing to be done for 'all'.
creating /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot0.riot.bin...
echo FLASHFILE: /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot0.riot.bin
FLASHFILE: /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot0.riot.bin
creating /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot1.riot.bin...
echo FLASHFILE: /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot1.riot.bin
FLASHFILE: /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot1.riot.bin
"make" -C /home/harter/work/git/RIOT/boards/samr21-xpro
"make" -C /home/harter/work/git/RIOT/core
"make" -C /home/harter/work/git/RIOT/cpu/samd21
"make" -C /home/harter/work/git/RIOT/cpu/cortexm_common
"make" -C /home/harter/work/git/RIOT/cpu/cortexm_common/periph
"make" -C /home/harter/work/git/RIOT/cpu/sam0_common
"make" -C /home/harter/work/git/RIOT/cpu/sam0_common/periph
"make" -C /home/harter/work/git/RIOT/cpu/samd21/periph
"make" -C /home/harter/work/git/RIOT/drivers
"make" -C /home/harter/work/git/RIOT/drivers/periph_common
"make" -C /home/harter/work/git/RIOT/sys
"make" -C /home/harter/work/git/RIOT/sys/checksum
"make" -C /home/harter/work/git/RIOT/sys/isrpipe
"make" -C /home/harter/work/git/RIOT/sys/newlib_syscalls_default
"make" -C /home/harter/work/git/RIOT/sys/pm_layered
"make" -C /home/harter/work/git/RIOT/sys/riotboot
"make" -C /home/harter/work/git/RIOT/sys/stdio_uart
"make" -C /home/harter/work/git/RIOT/sys/tsrb
echo FLASHFILE: /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot0-extended.bin
FLASHFILE: /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot0-extended.bin
echo FLASHFILE: /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot0-combined.bin
FLASHFILE: /home/harter/work/git/RIOT/tests/riotboot/bin/samr21-xpro/tests_riotboot-slot0-combined.bin
```

-- 
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/11089#issuecomment-469640863
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190305/1687abdd/attachment.html>


More information about the notifications mailing list