Skip to content

Can I set CONFIG_TICKLESS_KERNEL config to each core? #78195

Answered by ndrs-pst
chojpsh1 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your clarification.
As far as I know, Zephyr has a global scheduler regardless of how many cores the CPU has.
This implies that you can only select between TICKLESS or non-TICKLESS, but not both.

Hence, the suggestion might look like this:

  • CONFIG_TICKLESS_KERNEL=y
  • Use Timer APIs to periodically trigger a specified thread that has been pinned to CORE1 via k_thread_cpu_pin.

A resource worth looking at.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@chojpsh1
Comment options

Comment options

You must be logged in to vote
1 reply
@chojpsh1
Comment options

Answer selected by chojpsh1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants