Commit Graph
22 Commits
Author SHA1 Message Date
Kaspar Schleiser dd218333c2 sys/ztimer: add xtimer_on_ztimer
This commit adds logic to make xtimer use ztimer_usec as backend
(instead of periph_timer). This allows ztimer_usec and xtimer to
coexist. It also allows xtimer to profit from eventually implemented
power mode blocking in ztimer's periph_timer backend.
2020-03-04 12:44:03 +01:00
Kaspar Schleiser 885bb84ce5 sys/xtimer: _xtimer_now64(): fix irq_disable() return value type 2020-01-22 12:46:17 +01:00
Hyungsin 387344775b sys: xtimer concurrency/robustness improvement 2020-01-10 10:06:16 -08:00
Marian Buschsieweke cd1ce6b98d sys/xtimer: Remove dependency to core_msg
When module `core_msg` is not used, `xtimer` now no longer provides the features
related to messages. This allows using `xtimer` without `core_msg`.
2019-10-31 19:55:50 +01:00
Josarn 672368954e xtimer: timer & target overflow, hang resolved.
1. When the 32 bit target of the xtimer overflowed the timer was not placed in the right list.
2. When the hardware timer overflowed the comparison was wrong for setting next target.

3. Backoff condition
2018-11-01 16:48:20 +01:00
Josarn bb7acca31e sys/include/xtimer: Added xtimer_set64() 2018-04-04 16:58:59 +02:00
Hauke Petersen 6b526f05de sys/xtimer: remove duplicat _xtimer_set declaration 2018-01-09 15:43:59 +01:00
smlng b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Kaspar Schleiser 0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Martine Lenders b2bc244ce9 xtimer: fix cppcheck warnings 2017-04-14 14:36:14 +02:00
Oleg Hahm 3c6678b037 *: fix mismatching endifs for header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm 7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm 4f4214235b timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
Joakim Nohlgård 8217e49330 sys/xtimer: avoid C99 initializer list to make file C++11 compatible 2016-11-28 11:00:43 +01:00
Joakim Nohlgård a23bfc64ff xtimer: Introduce xtimer_diff, xtimer_less for comparing timestamps 2016-11-28 11:00:42 +01:00
Joakim Nohlgård b5554dd7e0 xtimer: Introduce xtimer_now_usec convenience functions 2016-11-28 11:00:42 +01:00
Joakim Nohlgård 63e91151cd xtimer: Add tick conversion 2016-11-28 11:00:42 +01:00
Joakim Nohlgård da8cd11816 xtimer: Move xtimer_spin_until into xtimer_core.c 2016-07-06 22:23:07 +02:00
Joakim Nohlgård e4e1814602 xtimer: Remove old xtimer_trace.h include
The file was missing anyway.
2016-07-06 22:23:07 +02:00
Joakim Nohlgård 4d862955c2 xtimer: Rename XTIMER -> XTIMER_DEV 2016-07-06 22:23:04 +02:00
Joakim Nohlgård 2f832117f8 xtimer: prefix _lltimer_now, _lltimer_mask with _xtimer 2016-07-06 22:23:04 +02:00
Joakim Nohlgård 8c90b1020b xtimer: Split header into API and implementation 2016-07-06 22:23:04 +02:00