From 5f3a9de7fa7cf1bee9d54394f00c48f13b2901ba Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Sat, 13 May 2023 18:46:34 +0200 Subject: [PATCH] treewide: fix path to ztimer test applications --- cpu/saml21/include/periph_cpu.h | 2 +- doc/doxygen/src/porting-boards.md | 4 ++-- makefiles/pseudomodules.inc.mk | 2 +- sys/include/ztimer/config.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cpu/saml21/include/periph_cpu.h b/cpu/saml21/include/periph_cpu.h index 6225d7ecd0..4476603de1 100644 --- a/cpu/saml21/include/periph_cpu.h +++ b/cpu/saml21/include/periph_cpu.h @@ -140,7 +140,7 @@ static const gpio_t sam0_adc_pins[1][20] = { #define RTT_CLOCK_FREQUENCY (32768U) /* in Hz */ #define RTT_MIN_FREQUENCY (RTT_CLOCK_FREQUENCY / 512U) /* 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) /** @} */ diff --git a/doc/doxygen/src/porting-boards.md b/doc/doxygen/src/porting-boards.md index f5ed846698..395315bd0e 100644 --- a/doc/doxygen/src/porting-boards.md +++ b/doc/doxygen/src/porting-boards.md @@ -180,11 +180,11 @@ PROGRAMMER ?= openocd 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 -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: ```shell -$ BOARD=my-new-board make -C tests/ztimer_overhead +$ BOARD=my-new-board make -C tests/sys/ztimer_overhead main(): This is RIOT! ZTIMER_USEC auto_adjust params: ZTIMER_USEC->adjust_set = xx diff --git a/makefiles/pseudomodules.inc.mk b/makefiles/pseudomodules.inc.mk index c7cb6497e6..639e804fbb 100644 --- a/makefiles/pseudomodules.inc.mk +++ b/makefiles/pseudomodules.inc.mk @@ -590,7 +590,7 @@ PSEUDOMODULES += ztimer64_% ## 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 -## 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 # core_lib is not a submodule diff --git a/sys/include/ztimer/config.h b/sys/include/ztimer/config.h index 095aa575cf..620594f72a 100644 --- a/sys/include/ztimer/config.h +++ b/sys/include/ztimer/config.h @@ -155,7 +155,7 @@ extern "C" { * introduced by turning on the underlying peripheral. * * @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. */