Go to file
Joe Perches 6cdeefcabb checkpatch: improve the indented label test
checkpatch identifies a label only when a terminating colon
immediately follows an identifier.

Bitfield definitions can appear to be labels so ignore any
spaces between the identifier terminating colon and any digit
that may be used to define a bitfield length.

Miscellanea:

o Improve the initial checkpatch comment
o Use the more typical '&&' instead of 'and'
o Require the initial label character to be a non-digit
  (Can't use $Ident here because $Ident allows ## concatenation)
o Use $sline instead of $line to ignore comments
o Use '$sline !~ /.../' instead of '!($line =~ /.../)'

Link: https://lkml.kernel.org/r/b54d673e7cde7de5de0c9ba4dd57dd0858580ca4.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Manikishan Ghantasala <manikishanghantasala@gmail.com>
Cc: Alex Elder <elder@ieee.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
2022-11-17 01:02:03 +09:00
.github ci: twister: fix typo 2022-11-14 18:08:15 +01:00
arch arch: arm: mpu: Add support for disabling the background address map 2022-11-16 11:21:06 +01:00
boards boards: nsim_hs: Add separate config for XIP memory organization 2022-11-16 11:18:51 +01:00
cmake rtio: Userspace support 2022-11-08 10:44:03 +01:00
doc Bluetooth: Audio: Rename BASS and BASS client 2022-11-16 11:17:52 +01:00
drivers drivers: gpdma: Fix ownership programming for ACE 2022-11-17 00:34:45 +09:00
dts dts: nxp: Add FlexSPI2 defines for RT595 2022-11-16 11:19:01 +01:00
include/zephyr boards: nsim_hs: Add separate config for XIP memory organization 2022-11-16 11:18:51 +01:00
kernel kernel: Add C++ main() support 2022-11-05 16:41:45 +09:00
lib posix: mutex: abstract pthread_mutex_t as uint32_t 2022-11-15 05:56:31 +09:00
misc misc: generated: update configs.c template with <zephyr/...> prefix 2022-05-09 12:45:29 -04:00
modules modules: add an Arm Ethos-U HAL module 2022-11-15 14:47:43 +01:00
samples samples: drivers: eeprom: remove EEPROM shell overlay 2022-11-15 09:43:42 -06:00
scripts checkpatch: improve the indented label test 2022-11-17 01:02:03 +09:00
share cmake: sysbuild: Add support for recurive target cmake inclusion 2022-11-03 13:04:08 +01:00
soc boards: nsim_hs: Add separate config for XIP memory organization 2022-11-16 11:18:51 +01:00
submanifests
subsys net: ppp: Revert interface management changes 2022-11-16 11:21:24 +01:00
tests tests: kernel: timer_behavior: Relax a bit the timer_tick_train test 2022-11-16 11:20:55 +01:00
.checkpatch.conf
.clang-format clang-format: remove space before colon 2022-11-16 12:14:58 +00:00
.codecov.yml
.editorconfig editorconfig: Improve verbosity 2022-04-28 08:55:39 -04:00
.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
CODE_OF_CONDUCT.md
CODEOWNERS CODEOWNERS, MAINTAINERS: Add entries for MQTT-SN 2022-11-09 10:43:00 +01:00
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 MAINTAINERS.yaml: Add Guillaume Gautier as STM32 collaborator 2022-11-15 00:56:43 +09:00
README.rst readme: Update stale documentation links 2022-06-06 12:07:12 +02:00
VERSION VERSION: bump to 3.2.99 2022-09-30 13:06:22 -05:00
version.h.in
west.yml manifest: update hal_nordic revision 2022-11-16 11:19:33 +01:00
zephyr-env.cmd
zephyr-env.sh

.. 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