[riot-commits] [RIOT-OS/RIOT] da550b: introduce HWTIMER_SPIN_BARRIER (API change)

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Wed Oct 1 20:52:33 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: da550bc913d0008a897694c6d6131d4aa4c8da36
      https://github.com/RIOT-OS/RIOT/commit/da550bc913d0008a897694c6d6131d4aa4c8da36
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M core/hwtimer.c
    M core/include/hwtimer.h
    M sys/vtimer/vtimer.c

  Log Message:
  -----------
  introduce HWTIMER_SPIN_BARRIER (API change)

Boards should define HWTIMER_SPIN_BARRIER that is used to decide
whether it makes sense to set a timer and yield or call hwtimer_spin
instead.
Used by `core/hwtimer.c` and `sys/vtimer/vtimer.c`.
A default value is provided and a warning is printed when it is used.


  Commit: 0a8be81526eca65da3594348f7ce79d24c384728
      https://github.com/RIOT-OS/RIOT/commit/0a8be81526eca65da3594348f7ce79d24c384728
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M core/include/hwtimer.h

  Log Message:
  -----------
  core/hwtimer: clean up header

- break/shorten overlong lines
- improve grammar


  Commit: 19cb5bd1534ee8531536ede2e3603bc1c1c9f00a
      https://github.com/RIOT-OS/RIOT/commit/19cb5bd1534ee8531536ede2e3603bc1c1c9f00a
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M tests/hwtimer_spin/main.c
    M tests/hwtimer_wait/main.c

  Log Message:
  -----------
  tests: adopt for hwtimer_spin_barrier

also clean out unneeded headers


  Commit: f677f70836f2116805c07f043a7b3910350d5237
      https://github.com/RIOT-OS/RIOT/commit/f677f70836f2116805c07f043a7b3910350d5237
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M core/hwtimer.c
    M core/include/hwtimer.h

  Log Message:
  -----------
  core/hwtimer: add HWTIMER_WAIT_OVERHEAD


  Commit: 983e570e27734ef0b0c06546222146a9f5ed14f0
      https://github.com/RIOT-OS/RIOT/commit/983e570e27734ef0b0c06546222146a9f5ed14f0
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-10-01 (Wed, 01 Oct 2014)

  Changed paths:
    M core/hwtimer.c
    M core/include/hwtimer.h
    M sys/vtimer/vtimer.c
    M tests/hwtimer_spin/main.c
    M tests/hwtimer_wait/main.c

  Log Message:
  -----------
  Merge pull request #1409 from LudwigOrtmann/hwtimer_spin-barrier

core,sys,boards: introduce hwtimer_spin barrier


Compare: https://github.com/RIOT-OS/RIOT/compare/95d32986cf31...983e570e2773


More information about the commits mailing list