mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 17:43:51 +01:00
treewide: fix path to ztimer test applications
This commit is contained in:
parent
023e676a1a
commit
5f3a9de7fa
@ -140,7 +140,7 @@ static const gpio_t sam0_adc_pins[1][20] = {
|
|||||||
#define RTT_CLOCK_FREQUENCY (32768U) /* in Hz */
|
#define RTT_CLOCK_FREQUENCY (32768U) /* in Hz */
|
||||||
#define RTT_MIN_FREQUENCY (RTT_CLOCK_FREQUENCY / 512U) /* in Hz */
|
#define RTT_MIN_FREQUENCY (RTT_CLOCK_FREQUENCY / 512U) /* in Hz */
|
||||||
#define RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY) /* in Hz */
|
#define RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY) /* in Hz */
|
||||||
/* determined by tests/ztimer_underflow */
|
/* determined by tests/sys/ztimer_underflow */
|
||||||
#define RTT_MIN_OFFSET (8U)
|
#define RTT_MIN_OFFSET (8U)
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|||||||
@ -180,11 +180,11 @@ PROGRAMMER ?= openocd
|
|||||||
|
|
||||||
When using high level timers, i.e. `ztimer` there is an overhead in calling
|
When using high level timers, i.e. `ztimer` there is an overhead in calling
|
||||||
for @ref ztimer_sleep and @ref ztimer_set functions. This offset can be
|
for @ref ztimer_sleep and @ref ztimer_set functions. This offset can be
|
||||||
compensated for. It can be measured by running `tests/ztimer_overhead`
|
compensated for. It can be measured by running `tests/sys/ztimer_overhead`
|
||||||
on your board, i.e:
|
on your board, i.e:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ BOARD=my-new-board make -C tests/ztimer_overhead
|
$ BOARD=my-new-board make -C tests/sys/ztimer_overhead
|
||||||
main(): This is RIOT!
|
main(): This is RIOT!
|
||||||
ZTIMER_USEC auto_adjust params:
|
ZTIMER_USEC auto_adjust params:
|
||||||
ZTIMER_USEC->adjust_set = xx
|
ZTIMER_USEC->adjust_set = xx
|
||||||
|
|||||||
@ -590,7 +590,7 @@ PSEUDOMODULES += ztimer64_%
|
|||||||
## a configurable @ref CONFIG_ZTIMER_AUTO_ADJUST_SETTLE value can be set for this.
|
## a configurable @ref CONFIG_ZTIMER_AUTO_ADJUST_SETTLE value can be set for this.
|
||||||
##
|
##
|
||||||
## Alternatively CONFIG_ZTIMER_USEC_ADJUST_% values can be set in the BOARDs
|
## Alternatively CONFIG_ZTIMER_USEC_ADJUST_% values can be set in the BOARDs
|
||||||
## configuration header board.h. These can be found out by running tests/ztimer_overhead
|
## configuration header board.h. These can be found out by running tests/sys/ztimer_overhead
|
||||||
PSEUDOMODULES += ztimer_auto_adjust
|
PSEUDOMODULES += ztimer_auto_adjust
|
||||||
|
|
||||||
# core_lib is not a submodule
|
# core_lib is not a submodule
|
||||||
|
|||||||
@ -155,7 +155,7 @@ extern "C" {
|
|||||||
* introduced by turning on the underlying peripheral.
|
* introduced by turning on the underlying peripheral.
|
||||||
*
|
*
|
||||||
* @note This value can be measured with the
|
* @note This value can be measured with the
|
||||||
* `tests/ztimer_ondemand_benchmark` tool.
|
* `tests/sys/ztimer_ondemand_benchmark` tool.
|
||||||
*
|
*
|
||||||
* This value should be configured in the board.h.
|
* This value should be configured in the board.h.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user