[riot-notifications] [RIOT-OS/RIOT] tests/shell: Initialize xtimer when stdio_rtt is used (#11606)

Leandro Lanzieri notifications at github.com
Wed May 29 13:01:06 CEST 2019


### Contribution description
As explained in #11605, the shell test application does not initialize xtimer, which is needed for stdio_rtt. This PR initializes the module when stdio_rtt is used.

**Note**: I added the commits from #11604 so it's easier to test. They should be removed when #11604 gets merged. Make term does not work without it.

### Testing procedure
Run the shell test on a board that uses Segger RTT.
e.g. `BOARD=ruuvitag make all flash test -C tests/shell`, the test should succeed.

### Issues/PRs references
Depends on #11604 
Fixes #11605 

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

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

-- Commit Summary --

  * tools/jlink: Wait for server before pyterm
  * tools/jlink: Exit terminal on Ctrl+C
  * tests/shell: Init xtimer when stdio_rtt is used

-- File Changes --

    M dist/tools/jlink/jlink.sh (14)
    M tests/shell/main.c (7)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11606.patch
https://github.com/RIOT-OS/RIOT/pull/11606.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/11606
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190529/5bf52fdd/attachment-0001.html>


More information about the notifications mailing list