[riot-commits] [RIOT-OS/RIOT] c6bcc3: native: uart reconnect buffer replay

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Sun Jul 27 15:26:10 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c6bcc344ca66aa3df643604077c64caf4284998a
      https://github.com/RIOT-OS/RIOT/commit/c6bcc344ca66aa3df643604077c64caf4284998a
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-07-27 (Sun, 27 Jul 2014)

  Changed paths:
    M boards/native/drivers/native-uart0.c
    M boards/native/include/board_internal.h
    M cpu/native/include/native_internal.h
    M cpu/native/startup.c
    M cpu/native/syscalls.c

  Log Message:
  -----------
  native: uart reconnect buffer replay

When using socket stdio, add option to replay what has been written to
stdout while not connected (`-r`).

The implementation is to simply use the existing log file (which is
implicitly created when the option is used), and read from it until
EOF upon reconnect.

closes #476


  Commit: 3cda0369cb1d64fbe290fc1192ab832dc916a966
      https://github.com/RIOT-OS/RIOT/commit/3cda0369cb1d64fbe290fc1192ab832dc916a966
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-07-27 (Sun, 27 Jul 2014)

  Changed paths:
    M boards/native/drivers/native-uart0.c
    M cpu/native/include/native_internal.h
    M cpu/native/startup.c
    M cpu/native/syscalls.c

  Log Message:
  -----------
  native: cleanup

fix style
fix some syscall declarations
reorder syscall declarations
init syscalls in dedicated function
substitute 1 with EXIT_FAILURE


  Commit: 12e55ddaec24e628371c2a10e334910f1a67d4d0
      https://github.com/RIOT-OS/RIOT/commit/12e55ddaec24e628371c2a10e334910f1a67d4d0
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-07-27 (Sun, 27 Jul 2014)

  Changed paths:
    M boards/native/drivers/native-uart0.c
    M boards/native/include/board_internal.h
    M cpu/native/include/native_internal.h
    M cpu/native/startup.c
    M cpu/native/syscalls.c

  Log Message:
  -----------
  Merge pull request #1445 from LudwigOrtmann/issue-476

native: uart reconnect buffer replay (+a little cleanup)


Compare: https://github.com/RIOT-OS/RIOT/compare/f2344a9b5741...12e55ddaec24


More information about the commits mailing list