Go to file
Martí Bolívar e4a761cffe devicetree: add migration guide documentation and tests
Add test cases that verify various bits and pieces of the legacy
devicetree macros match the new APIs.

Writing these test cases without giving rise to deprecated macro
warnings which might break people's CI if they build with -Werror
requires turning off the __WARN() generation in
devicetree_legacy_unfixed.h. The entire file is deprecated at this
point and must be explicitly enabled with an opt-in Kconfig option, so
there isn't any harm in doing this.

Nevertheless, take a minimally invasive approach to avoiding __WARN()
generation in gen_legacy_defines.py, to avoid the possibility of
breakage. This code is basically frozen anyway, so hacks like this
won't cause maintainability problems since it isn't being actively
maintained.

Use the new tests as fodder for a migration guide from the old API in
the documentation.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-28 22:12:38 +02:00
.github templates: use correct label for Enhancement 2020-05-21 13:21:09 -04:00
.known-issues docs: crypto: crypto API documentation 2020-03-14 13:01:03 -04:00
arch arch: arm: cortex-m: fix placement of ARMv7-M-related MPU workaround 2020-05-27 19:48:27 +02:00
boards boards: nrf5340pdk: fix list of board DTS 'compatibles' 2020-05-25 16:57:44 +02:00
cmake cmake: introduction of ZephyrBuildConfiguration package 2020-05-27 17:58:50 +02:00
doc devicetree: add migration guide documentation and tests 2020-05-28 22:12:38 +02:00
drivers drivers: spi: cc13xx_cc26xx: set power config based on SPI base addr 2020-05-28 10:30:14 +02:00
dts devicetree: add migration guide documentation and tests 2020-05-28 22:12:38 +02:00
include kernek: don't allow mutex ops in ISRs 2020-05-28 01:38:05 +02:00
kernel kernek: don't allow mutex ops in ISRs 2020-05-28 01:38:05 +02:00
lib lib: updatehub: Fix bus fault 2020-05-26 14:37:54 +02:00
misc
modules trusted-firmware-m: Add initial plumbing for TFM 2020-05-09 16:21:51 +02:00
samples samples: usb: update PID in the samples documentation 2020-05-27 14:15:52 +02:00
scripts devicetree: add migration guide documentation and tests 2020-05-28 22:12:38 +02:00
share cmake: fixing infinite loop when searching for Zephyr on windows 2020-05-05 10:02:11 -05:00
soc soc: arm: cortex_m: Fix OCRAM config for i.MX RT 2020-05-27 16:18:26 +02:00
subsys net: ipv6: Do not add same prefix multiple times to timer list 2020-05-28 17:49:03 +02:00
tests devicetree: add migration guide documentation and tests 2020-05-28 22:12:38 +02:00
.checkpatch.conf checkpatch: suppress SPDX license line check 2020-05-04 09:06:31 -05:00
.clang-format clang-format: Update with latest FOR_EACH macro list 2020-05-02 11:23:13 -04:00
.codecov.yml
.editorconfig editorconfig: add rules for device tree files 2020-04-27 08:11:52 -05:00
.gitattributes gitattributes: Tell linguist to ignore test pattern files 2020-04-23 14:07:57 -04:00
.gitignore gitignore: exclude tests/drivers/build_all 2020-03-20 13:49:05 -05:00
.gitlint
.mailmap
.shippable.yml ci: Update to use SDK 0.11.3 2020-05-19 14:54:31 +02:00
.uncrustify.cfg
CMakeLists.txt cmake: warn on dts_fixup.h files 2020-05-13 18:21:18 +02:00
CODE_OF_CONDUCT.md
CODEOWNERS tests: socket: socketpair: tests for socketpair(2) syscall 2020-05-10 17:46:43 +02:00
CONTRIBUTING.rst
Kconfig
Kconfig.zephyr Kconfig: Default to 'n' for LEGACY_DEVICETREE_MACROS 2020-05-13 21:22:53 +02:00
LICENSE
Makefile doc: provide a target to only generate doxygen 2020-04-11 08:40:54 -04:00
README.rst
VERSION release: Zephyr 2.3.0-rc1 2020-05-10 18:55:27 +02:00
version.h.in
west.yml west.yml: hal_ti: build files necessary for ieee8021504 driver 2020-05-19 17:28:29 +02:00
zephyr-env.cmd
zephyr-env.sh

.. raw:: html

   <a href="https://www.zephyrproject.org">
     <p align="center">
       <img src="doc/images/Zephyr-Project.png">
     </p>
   </a>

   <a href="https://bestpractices.coreinfrastructure.org/projects/74"><img
   src="https://bestpractices.coreinfrastructure.org/projects/74/badge"></a>
   <img
   src="https://api.shippable.com/projects/58ffb2b8baa5e307002e1d79/badge?branch=master">


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-M,
Intel x86, ARC, Nios II, Tensilica Xtensa, and RISC-V, and a large number of
`supported boards`_.

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

.. start_include_here

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.

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

Community support is provided via mailing lists and Slack; 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
  (shippable) nightly build results.
* **Chat**: Zephyr's Slack workspace is https://zephyrproject.slack.com.  Use
  this `Slack 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

.. _Slack Invite: https://tinyurl.com/y5glwylp
.. _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/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/guides/getting-help.html