Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
Krzysztof Chruscinski 31b25400ff drivers: timer: nrf_rtc_timer: Prevent prolonged timeout setting
CC setting algorithm is handling a case when CC is too soon (next
tick from now). It was setting CC to one tick further in the future
if that was detected. Step was repeated if counter incremented during
setting CC and CC was behind the counter because of risk of setting
CC too late. In certain scenarios we might spend a lot of time in
that loop, especially if optimization is turned off. Test shown that
loop was executed dozens of time (up. to 700us). To prevent
prolonged execution whenever CC setting fails we set CC to one more
tick further in future.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2022-11-09 10:46:19 +01:00
.github ci: Add workflow for cleaning up stale queued workflow runs 2022-11-09 11:12:48 +09:00
arch arch/arc: Detect arcv2 TLS register automatically 2022-11-08 10:45:44 +01:00
boards boards: b_u585i_iot02a: Add note on disabling TZ 2022-11-09 10:43:56 +01:00
cmake rtio: Userspace support 2022-11-08 10:44:03 +01:00
doc doc: net: mqtt-sn: Add documentation for MQTT-SN library 2022-11-09 10:43:00 +01:00
drivers drivers: timer: nrf_rtc_timer: Prevent prolonged timeout setting 2022-11-09 10:46:19 +01:00
dts soc: arm: st_stm32: stm32f0: Add support for stm32f030x6 2022-11-09 10:43:41 +01:00
include/zephyr Bluetooth: Host: Add missing assigned numbers 2022-11-09 10:45:52 +01:00
kernel kernel: Add C++ main() support 2022-11-05 16:41:45 +09:00
lib posix: pthread_create: use spinlock for pthread_pool_lock 2022-11-08 16:10:26 -05:00
misc
modules modules: hal_nordic: nrfx: switch to 2.10 API 2022-11-08 10:48:38 +01:00
samples samples: net: mqtt-sn: Add MQTT-SN publisher sample 2022-11-09 10:43:00 +01:00
scripts footprint: Add unicast_audio_{server, client} samples to tracking 2022-11-09 09:40:01 +00:00
share cmake: sysbuild: Add support for recurive target cmake inclusion 2022-11-03 13:04:08 +01:00
soc ITE: soc: chip_chipregs: Add SPISC register structure 2022-11-09 10:44:29 +01:00
submanifests
subsys Bluetooth: audio: Fix invalid assert in bt_audio_iso_unbind_ep 2022-11-09 10:45:12 +01:00
tests tests: kernel: workq: work: Tweak test for fast system clock 2022-11-09 10:44:52 +01:00
.checkpatch.conf
.clang-format clang-format: do not merge blocks/functions into single line 2022-07-15 19:18:28 -04:00
.codecov.yml
.editorconfig
.gitattributes
.gitignore gitignore: exclude scripts/pylib/build_helpers from git ignore list 2022-10-26 08:48:37 -04:00
.gitlint
.mailmap
CMakeLists.txt cmake: Allow selection of libc API overflow detection mode 2022-10-31 23:23:27 +09:00
CODEOWNERS CODEOWNERS, MAINTAINERS: Add entries for MQTT-SN 2022-11-09 10:43:00 +01:00
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
Kconfig
Kconfig.zephyr cmake: Allow selection of libc API overflow detection mode 2022-10-31 23:23:27 +09:00
LICENSE
MAINTAINERS.yml CODEOWNERS, MAINTAINERS: Add entries for MQTT-SN 2022-11-09 10:43:00 +01:00
README.rst
VERSION VERSION: bump to 3.2.99 2022-09-30 13:06:22 -05:00
version.h.in
west.yml manifest: Update EDTT revision 2022-11-09 09:03:07 +00:00
zephyr-env.cmd
zephyr-env.sh

README.rst

.. raw:: html

   <a href="https://www.zephyrproject.org">
     <p align="center">
       <img src="doc/_static/images/logo-readme.svg">
     </p>
   </a>

   <a href="https://bestpractices.coreinfrastructure.org/projects/74"><img
   src="https://bestpractices.coreinfrastructure.org/projects/74/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, Nios II, 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:

* **Help**: `Asking for Help Tips`_
* **Documentation**: http://docs.zephyrproject.org (`Getting Started Guide`_)
* **Source Code**: https://github.com/zephyrproject-rtos/zephyr is the main
  repository; https://elixir.bootlin.com/zephyr/latest/source contains a
  searchable index
* **Releases**: https://github.com/zephyrproject-rtos/zephyr/releases
* **Samples and example code**: see `Sample and Demo Code Examples`_
* **Mailing Lists**: users@lists.zephyrproject.org and
  devel@lists.zephyrproject.org are the main user and developer mailing lists,
  respectively. You can join the developer's list and search its archives at
  `Zephyr Development mailing list`_. The other `Zephyr mailing list
  subgroups`_ have their own archives and sign-up pages.
* **Nightly CI Build Status**: https://lists.zephyrproject.org/g/builds
  The builds@lists.zephyrproject.org mailing list archives the CI nightly build results.
* **Chat**: Real-time chat happens in Zephyr's Discord Server. Use
  this `Discord Invite`_ to register.
* **Contributing**: see the `Contribution Guide`_
* **Wiki**: `Zephyr GitHub wiki`_
* **Issues**: https://github.com/zephyrproject-rtos/zephyr/issues
* **Security Issues**: Email vulnerabilities@zephyrproject.org to report
  security issues; also see our `Security`_ documentation. Security issues are
  tracked separately at https://zephyrprojectsec.atlassian.net.
* **Zephyr Project Website**: https://zephyrproject.org

.. _Discord Invite: https://chat.zephyrproject.org
.. _supported boards: http://docs.zephyrproject.org/latest/boards/index.html
.. _Zephyr Documentation: http://docs.zephyrproject.org
.. _Introduction to Zephyr: http://docs.zephyrproject.org/latest/introduction/index.html
.. _Getting Started Guide: http://docs.zephyrproject.org/latest/develop/getting_started/index.html
.. _Contribution Guide: http://docs.zephyrproject.org/latest/contribute/index.html
.. _Zephyr GitHub wiki: https://github.com/zephyrproject-rtos/zephyr/wiki
.. _Zephyr Development mailing list: https://lists.zephyrproject.org/g/devel
.. _Zephyr mailing list subgroups: https://lists.zephyrproject.org/g/main/subgroups
.. _Sample and Demo Code Examples: http://docs.zephyrproject.org/latest/samples/index.html
.. _Security: http://docs.zephyrproject.org/latest/security/index.html
.. _Asking for Help Tips: https://docs.zephyrproject.org/latest/develop/getting_started/index.html#asking-for-help