[riot-notifications] [RIOT-OS/RIOT] Makefile.include: add flash-only as dependency of term (#12306)

Francisco notifications at github.com
Thu Sep 26 10:06:21 CEST 2019


### Contribution description

Currently it is only enforced that `flash` is called before `term` but not flash-only. This PR fixes that.

### Testing procedure

In master:

```
make -C examples/hello-world/ BOARD=samr21-xpro term flash-only
make: Entering directory '/home/francisco/workspace/RIOT/examples/hello-world'
/home/francisco/workspace/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200" 
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2019-09-26 10:01:45,787 - INFO # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
```

This PR:

```
make -C examples/hello-world/ BOARD=samr21-xpro term flash-only
make: Entering directory '/home/francisco/workspace/RIOT/examples/hello-world'
/home/francisco/workspace/RIOT/dist/tools/edbg/edbg  -t atmel_cm0p -b -v -p -f /home/francisco/workspace/RIOT/examples/hello-world/bin/samr21-xpro/hello-world.bin
Debugger: ATMEL EDBG CMSIS-DAP ATML2127031800011523 01.1A.00FB (S)
Clock frequency: 16.0 MHz
Target: SAM R21G18 (Rev C)
Programming.................................... done.
Verification.................................... done.
/home/francisco/workspace/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200" 
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2019-09-26 10:01:58,194 - INFO # Connect to serial port /dev/ttyACM0
```

### Issues/PRs references


You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Makefile.include: add flash-only as dependency of term

-- File Changes --

    M Makefile.include (2)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/12306.patch
https://github.com/RIOT-OS/RIOT/pull/12306.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/12306
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190926/7a83981d/attachment.htm>


More information about the notifications mailing list