[riot-commits] [RIOT-OS/RIOT] c0ef84: native: move rtc to periph

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Tue Dec 16 18:57:00 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c0ef84bb9fe3cfd27cde6c2b271ab18ba09c3271
      https://github.com/RIOT-OS/RIOT/commit/c0ef84bb9fe3cfd27cde6c2b271ab18ba09c3271
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-13 (Sat, 13 Dec 2014)

  Changed paths:
    M boards/native/Makefile.features
    M cpu/native/Makefile
    R cpu/native/drivers/Makefile
    R cpu/native/drivers/rtc/Makefile
    R cpu/native/drivers/rtc/posix-rtc.c
    M cpu/native/include/periph_conf.h
    A cpu/native/periph/rtc.c
    M examples/default/Makefile

  Log Message:
  -----------
  native: move rtc to periph

* adapt implementation to new interface
* remove now superfluous drivers directory


  Commit: 37a1a105bc73b1e73dd42367f629e2f7bb7faaa0
      https://github.com/RIOT-OS/RIOT/commit/37a1a105bc73b1e73dd42367f629e2f7bb7faaa0
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-13 (Sat, 13 Dec 2014)

  Changed paths:
    M cpu/native/periph/rtc.c

  Log Message:
  -----------
  native/rtc: clean up documentation


  Commit: f35981a6d7cf00aa1aecc2dd2ea55fd5dcdb11b8
      https://github.com/RIOT-OS/RIOT/commit/f35981a6d7cf00aa1aecc2dd2ea55fd5dcdb11b8
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-13 (Sat, 13 Dec 2014)

  Changed paths:
    M cpu/native/periph/rtc.c

  Log Message:
  -----------
  native/rtc: improve implementation

* add error checking / warnings
* implement parts of alarm functionality
* clean up


  Commit: 474c8afd9367ab07ce984b15ade022efd3757e8e
      https://github.com/RIOT-OS/RIOT/commit/474c8afd9367ab07ce984b15ade022efd3757e8e
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M cpu/native/periph/rtc.c

  Log Message:
  -----------
  native/rtc:  define ENABLE_DEBUG, move include


  Commit: 2ec0a1ca02a1e76bda77f71d9511eb8aaeb0a8c1
      https://github.com/RIOT-OS/RIOT/commit/2ec0a1ca02a1e76bda77f71d9511eb8aaeb0a8c1
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M cpu/native/periph/rtc.c

  Log Message:
  -----------
  native/rtc: apply naming conventions


  Commit: 494288294940dd8c9b09fd53ba14d80a76013fd1
      https://github.com/RIOT-OS/RIOT/commit/494288294940dd8c9b09fd53ba14d80a76013fd1
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M sys/shell/commands/Makefile
    M sys/shell/commands/sc_rtc.c
    M sys/shell/commands/shell_commands.c

  Log Message:
  -----------
  sys/shell: rewrite rtc command for periph/rtc


  Commit: 3729789dc353376a1abb6a74fe2c76d8aab5218f
      https://github.com/RIOT-OS/RIOT/commit/3729789dc353376a1abb6a74fe2c76d8aab5218f
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M sys/shell/commands/sc_rtc.c

  Log Message:
  -----------
  sys/shell: use more common libc calls

use strtol instead of sscanf
use plain printf instead of asctime


  Commit: 8ec17560e414f6b6bd507e830d6fedc3d94b1e7a
      https://github.com/RIOT-OS/RIOT/commit/8ec17560e414f6b6bd507e830d6fedc3d94b1e7a
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M examples/default/Makefile
    M examples/default/main.c

  Log Message:
  -----------
  examples/default: use periph/rtc instead of rtc

The rtc module is deprecated and will be removed.


  Commit: ca36e9c4a7858130fac5d39d29194f9871c1d0ae
      https://github.com/RIOT-OS/RIOT/commit/ca36e9c4a7858130fac5d39d29194f9871c1d0ae
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M sys/shell/commands/sc_rtc.c

  Log Message:
  -----------
  sys/shell: refactor _parse_time


  Commit: ed54a5765a830dd177f58f3f1307fd797924c4a6
      https://github.com/RIOT-OS/RIOT/commit/ed54a5765a830dd177f58f3f1307fd797924c4a6
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    A boards/chronos/include/periph_conf.h
    A boards/msb-430/include/periph_conf.h
    A boards/msb-430h/include/periph_conf.h
    A boards/redbee-econotag/include/periph_conf.h
    A boards/telosb/include/periph_conf.h
    A boards/wsn430-common/include/periph_conf.h
    A boards/z1/include/periph_conf.h

  Log Message:
  -----------
  boards: created periph-conf.h for remaining boards


  Commit: 498edb1854c7c10132da8d152bc859a6ed6e5bd0
      https://github.com/RIOT-OS/RIOT/commit/498edb1854c7c10132da8d152bc859a6ed6e5bd0
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M boards/avsextrem/include/periph_conf.h
    M boards/chronos/include/periph_conf.h
    M boards/msba2/include/periph_conf.h
    M cpu/arm7_common/gettimeofday.c
    M cpu/arm7_common/syscalls.c
    M cpu/cc430/cc430-rtc.c
    M cpu/cc430/include/cc430-rtc.h
    M cpu/lpc2387/include/lpc2387-rtc.h
    M cpu/lpc2387/rtc/lpc2387-rtc.c
    R drivers/include/rtc.h
    M examples/ccn-lite-relay/main.c
    M sys/auto_init/auto_init.c

  Log Message:
  -----------
  cc430: lpc2387: switch to new periph/rtc interface

Removes the old interface.


  Commit: 93cf446b55274414bf9c668dd4bc658947326a25
      https://github.com/RIOT-OS/RIOT/commit/93cf446b55274414bf9c668dd4bc658947326a25
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M cpu/lpc2387/include/lpc2387-rtc.h
    M cpu/lpc2387/rtc/lpc2387-rtc.c

  Log Message:
  -----------
  rtc: cleanup of lpc2387-rtc implementation


  Commit: 587920cc4992d7d74a9b61f5f052c7de82f567ed
      https://github.com/RIOT-OS/RIOT/commit/587920cc4992d7d74a9b61f5f052c7de82f567ed
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    R cpu/arm7_common/gettimeofday.c
    R cpu/lpc2387/include/lpc2387-rtc.h
    M cpu/lpc2387/rtc/lpc2387-rtc.c

  Log Message:
  -----------
  cpu: remove superfluous gettimeofday functions


  Commit: 849580a9c95f85a26341affb37b0d15344b948a0
      https://github.com/RIOT-OS/RIOT/commit/849580a9c95f85a26341affb37b0d15344b948a0
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M cpu/lpc2387/rtc/lpc2387-rtc.c

  Log Message:
  -----------
  cpu: lpc2387: further rtc cleanup


  Commit: 60cd0d357dc0a90c6dfb7ffec26abe1711aa2d60
      https://github.com/RIOT-OS/RIOT/commit/60cd0d357dc0a90c6dfb7ffec26abe1711aa2d60
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M boards/avsextrem/Makefile.features
    M boards/chronos/Makefile.features
    M boards/msba2/Makefile.features
    M cpu/cc430/Makefile
    M cpu/cc430/Makefile.include
    R cpu/cc430/cc430-rtc.c
    A cpu/cc430/periph/Makefile
    A cpu/cc430/periph/rtc.c
    M cpu/lpc2387/Makefile
    A cpu/lpc2387/periph/rtc.c
    R cpu/lpc2387/rtc/Makefile
    R cpu/lpc2387/rtc/lpc2387-rtc.c
    M examples/default/Makefile

  Log Message:
  -----------
  periph_rtc: streamline lpc2387 and cc430 naming


  Commit: f7b197007d41878ee7432eed8d4425df5f926692
      https://github.com/RIOT-OS/RIOT/commit/f7b197007d41878ee7432eed8d4425df5f926692
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M boards/msb-430/include/periph_conf.h
    M boards/msb-430h/include/periph_conf.h
    M boards/redbee-econotag/include/periph_conf.h
    M boards/telosb/include/periph_conf.h
    M boards/wsn430-common/include/periph_conf.h
    M boards/z1/include/periph_conf.h

  Log Message:
  -----------
  travis: make travis happy for empty header files


  Commit: 124c13bbab91bb474e1a069507abe6f61b4e2699
      https://github.com/RIOT-OS/RIOT/commit/124c13bbab91bb474e1a069507abe6f61b4e2699
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M boards/pttu/Makefile.features
    M boards/pttu/include/periph_conf.h

  Log Message:
  -----------
  pttu: add periph_rtc also to this MSB-A2 variant


  Commit: e7f6f640f61f8fde7786771a76e204d81be54f00
      https://github.com/RIOT-OS/RIOT/commit/e7f6f640f61f8fde7786771a76e204d81be54f00
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M boards/avsextrem/Makefile.features
    M boards/avsextrem/include/periph_conf.h
    M boards/chronos/Makefile.features
    A boards/chronos/include/periph_conf.h
    A boards/msb-430/include/periph_conf.h
    A boards/msb-430h/include/periph_conf.h
    M boards/msba2/Makefile.features
    M boards/msba2/include/periph_conf.h
    M boards/native/Makefile.features
    M boards/pttu/Makefile.features
    M boards/pttu/include/periph_conf.h
    A boards/redbee-econotag/include/periph_conf.h
    A boards/telosb/include/periph_conf.h
    A boards/wsn430-common/include/periph_conf.h
    A boards/z1/include/periph_conf.h
    R cpu/arm7_common/gettimeofday.c
    M cpu/arm7_common/syscalls.c
    M cpu/cc430/Makefile
    M cpu/cc430/Makefile.include
    R cpu/cc430/cc430-rtc.c
    M cpu/cc430/include/cc430-rtc.h
    A cpu/cc430/periph/Makefile
    A cpu/cc430/periph/rtc.c
    M cpu/lpc2387/Makefile
    R cpu/lpc2387/include/lpc2387-rtc.h
    A cpu/lpc2387/periph/rtc.c
    R cpu/lpc2387/rtc/Makefile
    R cpu/lpc2387/rtc/lpc2387-rtc.c
    M cpu/native/Makefile
    R cpu/native/drivers/Makefile
    R cpu/native/drivers/rtc/Makefile
    R cpu/native/drivers/rtc/posix-rtc.c
    M cpu/native/include/periph_conf.h
    A cpu/native/periph/rtc.c
    R drivers/include/rtc.h
    M examples/ccn-lite-relay/main.c
    M examples/default/Makefile
    M examples/default/main.c
    M sys/auto_init/auto_init.c
    M sys/shell/commands/Makefile
    M sys/shell/commands/sc_rtc.c
    M sys/shell/commands/shell_commands.c

  Log Message:
  -----------
  Merge pull request #2060 from OlegHahm/periph_rtc

drivers: Adapt old platforms to periph rtc


Compare: https://github.com/RIOT-OS/RIOT/compare/652abe7517aa...e7f6f640f61f


More information about the commits mailing list