Go to file
Lidor T b68058787e counter: cmsdk_apb_dualtimer: Use clock freq from DT clocks
Previously, the CMSDK APB dual timer driver hardcoded the counter
clock frequency to 24 MHz, which limits reuse across SoCs and
boards with different timer clock sources.

This patch replaces the hardcoded frequency with a value derived
from the device tree's `clocks` phandle, using the
`clock-frequency` property of the referenced clock controller node.

If the property is missing, it falls back to a default 24 MHz.

Signed-off-by: Lidor T <lidor@exibit-iot.com>
2025-07-19 15:50:31 -04:00
.github release: update security policy to include 4.2 2025-07-18 18:17:09 -05:00
arch xtensa: use EXCEPTION_DUMP macro for fatal messages 2025-07-19 15:49:28 -04:00
boards boards: nxp: imx93_evk: add SMP variant support 2025-07-19 15:49:16 -04:00
cmake arch: riscv: Introduce code model options 2025-07-19 15:43:09 -04:00
doc doc: nanopb: remove language about being optional 2025-07-19 15:45:06 -04:00
drivers counter: cmsdk_apb_dualtimer: Use clock freq from DT clocks 2025-07-19 15:50:31 -04:00
dts sensor: nrf-qdec: Allow sampleper register configurable through dts 2025-07-19 15:45:27 -04:00
include/zephyr include: zephyr: dt-bindings: Fix MCOx_yyy masks 2025-07-19 15:49:39 -04:00
kernel kernel: mmu: fix memory leak in virt_region_alloc() 2025-07-19 15:47:35 -04:00
lib lib: net_buf: Add a way to create pool with aligned data 2025-07-19 15:37:01 -04:00
misc
modules modified: nrf_wifi: Refactor heap calls 2025-07-19 15:35:07 -04:00
samples tests: Add overlay for siwx917_dk2605 board 2025-07-19 15:47:23 -04:00
scripts scripts: ci: check_compliance: Add support for module Kconfigs 2025-07-19 15:48:24 -04:00
share build: kconfig: Add support for warning insecure features 2025-07-10 16:00:26 -05:00
snippets snippets: nordic-flpr: Fix nRF54LM20A memory layout 2025-07-03 11:55:42 -05:00
soc soc: Enable radio core if BT is selected 2025-07-19 15:49:02 -04:00
submanifests manifest: nanopb: move nanopb to main manifest 2025-07-19 15:45:06 -04:00
subsys settings: Only use mutexes when multithreading is enabled 2025-07-19 15:50:23 -04:00
tests tests: arm: sw_vector_table: enhance test configs for frdm_mcxa166 2025-07-19 15:49:58 -04:00
zephyr zephyr: Add zephyr module file 2025-07-19 15:48:24 -04:00
.checkpatch.conf
.clang-format include: zephyr: sys: simplify MIN_HEAP_FOREACH macro 2025-06-26 11:58:05 -04:00
.codechecker.yml
.codecov.yml
.editorconfig
.gitattributes
.gitignore
.gitlint
.mailmap
.ruff-excludes.toml
.ruff.toml Revert "scripts: Bump Python target version for ruff" 2025-07-04 15:50:06 -05:00
.yamllint
CMakeLists.txt cmake: Remove NATIVE_APPLICATION support 2025-07-19 09:38:15 +02:00
CODE_OF_CONDUCT.md
CODEOWNERS
CONTRIBUTING.rst
Kconfig
Kconfig.constants
Kconfig.zephyr Kconfig: Remove NATIVE_APPLICATION option 2025-07-19 09:38:15 +02:00
LICENSE
MAINTAINERS.yml MAINTAINERS: Sort areas 2025-07-19 13:23:41 -04:00
README.rst
SDK_VERSION SDK_VERSION: Use Zephyr SDK 0.17.2 2025-06-25 12:15:09 +02:00
VERSION VERSION: bump to 4.2.99 2025-07-19 13:18:57 -04:00
version.h.in
west.yml manifest: nanopb: move nanopb to main manifest 2025-07-19 15:45:06 -04:00
zephyr-env.cmd
zephyr-env.sh zephyr-env.sh: Use $XDG_CONFIG_HOME/zephry/zephyrrc if present 2025-06-25 15:33:06 -10:00

.. raw:: html

   <a href="https://www.zephyrproject.org">
     <p align="center">
       <picture>
         <source media="(prefers-color-scheme: dark)" srcset="doc/_static/images/logo-readme-dark.svg">
         <source media="(prefers-color-scheme: light)" srcset="doc/_static/images/logo-readme-light.svg">
         <img src="doc/_static/images/logo-readme-light.svg">
       </picture>
     </p>
   </a>

   <a href="https://bestpractices.coreinfrastructure.org/projects/74"><img src="https://bestpractices.coreinfrastructure.org/projects/74/badge"></a>
   <a href="https://scorecard.dev/viewer/?uri=github.com/zephyrproject-rtos/zephyr"><img src="https://api.securityscorecards.dev/projects/github.com/zephyrproject-rtos/zephyr/badge"></a>
   <a href="https://github.com/zephyrproject-rtos/zephyr/actions/workflows/twister.yaml?query=branch%3Amain"><img src="https://github.com/zephyrproject-rtos/zephyr/actions/workflows/twister.yaml/badge.svg?event=push"></a>


The Zephyr Project is a scalable real-time operating system (RTOS) supporting
multiple hardware architectures, optimized for resource constrained devices,
and built with security in mind.

The Zephyr OS is based on a small-footprint kernel designed for use on
resource-constrained systems: from simple embedded environmental sensors and
LED wearables to sophisticated smart watches and IoT wireless gateways.

The Zephyr kernel supports multiple architectures, including ARM (Cortex-A,
Cortex-R, Cortex-M), Intel x86, ARC, Tensilica Xtensa, and RISC-V,
SPARC, MIPS, and a large number of `supported boards`_.

.. below included in doc/introduction/introduction.rst


Getting Started
***************

Welcome to Zephyr! See the `Introduction to Zephyr`_ for a high-level overview,
and the documentation's `Getting Started Guide`_ to start developing.

.. start_include_here

Community Support
*****************

Community support is provided via mailing lists and Discord; see the Resources
below for details.

.. _project-resources:

Resources
*********

Here's a quick summary of resources to help you find your way around:

Getting Started
---------------

  | 📖 `Zephyr Documentation`_
  | 🚀 `Getting Started Guide`_
  | 🙋🏽 `Tips when asking for help`_
  | 💻 `Code samples`_

Code and Development
--------------------

  | 🌐 `Source Code Repository`_
  | 📦 `Releases`_
  | 🤝 `Contribution Guide`_

Community and Support
---------------------

  | 💬 `Discord Server`_ for real-time community discussions
  | 📧 `User mailing list (users@lists.zephyrproject.org)`_
  | 📧 `Developer mailing list (devel@lists.zephyrproject.org)`_
  | 📬 `Other project mailing lists`_
  | 📚 `Project Wiki`_

Issue Tracking and Security
---------------------------

  | 🐛 `GitHub Issues`_
  | 🔒 `Security documentation`_
  | 🛡️ `Security Advisories Repository`_
  | ⚠️ Report security vulnerabilities at vulnerabilities@zephyrproject.org

Additional Resources
--------------------
  | 🌐 `Zephyr Project Website`_
  | 📺 `Zephyr Tech Talks`_

.. _Zephyr Project Website: https://www.zephyrproject.org
.. _Discord Server: https://chat.zephyrproject.org
.. _supported boards: https://docs.zephyrproject.org/latest/boards/index.html
.. _Zephyr Documentation: https://docs.zephyrproject.org
.. _Introduction to Zephyr: https://docs.zephyrproject.org/latest/introduction/index.html
.. _Getting Started Guide: https://docs.zephyrproject.org/latest/develop/getting_started/index.html
.. _Contribution Guide: https://docs.zephyrproject.org/latest/contribute/index.html
.. _Source Code Repository: https://github.com/zephyrproject-rtos/zephyr
.. _GitHub Issues: https://github.com/zephyrproject-rtos/zephyr/issues
.. _Releases: https://github.com/zephyrproject-rtos/zephyr/releases
.. _Project Wiki: https://github.com/zephyrproject-rtos/zephyr/wiki
.. _User mailing list (users@lists.zephyrproject.org): https://lists.zephyrproject.org/g/users
.. _Developer mailing list (devel@lists.zephyrproject.org): https://lists.zephyrproject.org/g/devel
.. _Other project mailing lists: https://lists.zephyrproject.org/g/main/subgroups
.. _Code samples: https://docs.zephyrproject.org/latest/samples/index.html
.. _Security documentation: https://docs.zephyrproject.org/latest/security/index.html
.. _Security Advisories Repository: https://github.com/zephyrproject-rtos/zephyr/security
.. _Tips when asking for help: https://docs.zephyrproject.org/latest/develop/getting_started/index.html#asking-for-help
.. _Zephyr Tech Talks: https://www.zephyrproject.org/tech-talks