Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boards/waspmote-pro: fix ztimer config #20573

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions boards/waspmote-pro/include/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@
* @name ztimer configuration values
* @{
*/
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER
#define CONFIG_ZTIMER_USEC_DEV (TIMER_DEV(0))
#define CONFIG_ZTIMER_USEC_FREQ (230400LU)
#define CONFIG_ZTIMER_USEC_WIDTH (16)
#define CONFIG_ZTIMER_USEC_TYPE ZTIMER_TYPE_PERIPH_TIMER /**< Use periph_timer for ZTIMER_USEC */

Check warning on line 177 in boards/waspmote-pro/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
#define CONFIG_ZTIMER_USEC_DEV (TIMER_DEV(0)) /**< Use TIMER_DEV(0) for ZTIMER_USEC */

Check warning on line 178 in boards/waspmote-pro/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
#define CONFIG_ZTIMER_USEC_BASE_FREQ (230400LU) /**< Run timer for ZTIMER_USEC at 230,400 Hz */

Check warning on line 179 in boards/waspmote-pro/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
#define CONFIG_ZTIMER_USEC_WIDTH (16) /**< TIMER_DEV(0) is 16 bit wide */

Check warning on line 180 in boards/waspmote-pro/include/board.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
/** @} */

/**
Expand Down