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

Make OS_TICKS_PER_SEC configurable for the nRF52 family. #2295

Merged
merged 1 commit into from Jun 2, 2020
Merged

Make OS_TICKS_PER_SEC configurable for the nRF52 family. #2295

merged 1 commit into from Jun 2, 2020

Conversation

jeremywood
Copy link
Contributor

@jeremywood jeremywood commented May 26, 2020

Added a syscfg for the nRF52 family to make it so that OS_TICKS_PER_SEC can be customized on a case by case basis. This is particularly useful for cases where the OS event loop needs to respond more quickly, or with more granularity than at 128 ticks per second.

Should only be increased if necessary, as increasing OS_TICKS_PER_SEC increases system power consumption. Note that OS_TICKS_PER_SEC must be a power of 2 on the nRF52. The range values in the syscfg have all been tested working (blinky works) on the nRF52840 dev kit.

Resolves issue #1785.

@apache-mynewt-bot
Copy link

Style check summary

No suggestions at this time!

Copy link
Contributor

@kasjer kasjer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kasjer kasjer merged commit a661241 into apache:master Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants