Go to file
Joakim Andersson 0484c5af4d tests: net: buf: Fix byteorder test writing beyond buffer
Fix byteorder test writing past the data pointer. This would otherwise
have been caught by the assert, but net buf asserts were not enabled in
the test. Reset the buffer between different tests to re-use the same
16-byte buffer.

Turning on asserts gives:

starting test - net_buf_test_byte_order
ASSERTION FAIL [net_buf_simple_tailroom(buf) >= len] @
	ZEPHYR_BASE/subsys/net/buf.c:775
E: r0/a1:  0x00000004  r1/a2:  0x00000307  r2/a3:  0x00000000
E: r3/a4:  0x00006d79 r12/ip:  0x00000000 r14/lr:  0x000028ad
E:  xpsr:  0x61000000
E: Faulting instruction address (r15/pc): 0x000050b0
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2020-01-13 13:59:55 +01:00
.github/ISSUE_TEMPLATE
.known-issues
arch arch: arm: Rewrite Cortex-R reset vector function. 2020-01-10 10:34:17 +01:00
boards boards: litex_vexriscv: Remove unused /chosen/zephyr,timer property 2020-01-13 13:48:48 +01:00
cmake x86: intel64: Split 'locore' and 'main' kernel images for QEMU 2020-01-08 07:49:24 -06:00
doc shell: Remove deprecated macros 2020-01-09 14:38:49 -05:00
drivers Bluetooth: select BT_RPMSG_NRF53 for non-secure variant of nrf5340 2020-01-10 16:33:00 +01:00
dts dts: arm: nrf5340: adding device_type property in sram nodes 2020-01-13 12:48:46 +01:00
ext
include Bluetooth: Mesh: Model start callback 2020-01-11 18:20:00 +01:00
kernel tracing: better positioning of tracing points 2020-01-09 11:21:19 -05:00
lib lib: os: make snprintk fns generally available 2020-01-03 10:13:30 +01:00
misc
modules kconfig: NXP IMX: Remove unused HAS_IMX_{RDC,CCM} symbols 2020-01-03 07:25:49 -06:00
samples samples: display: Added generic display shield sample 2020-01-10 09:18:20 -06:00
scripts dts: gen_defines.py: Add helper for outputting {} initializers 2020-01-13 13:50:15 +01:00
soc boards: efr32_slwstk6061a: Add support for spi nor flash 2020-01-10 07:14:35 -06:00
subsys dfu: allow MCUBoot configured without scratch 2020-01-13 12:47:04 +01:00
tests tests: net: buf: Fix byteorder test writing beyond buffer 2020-01-13 13:59:55 +01:00
.checkpatch.conf
.clang-format
.codecov.yml
.editorconfig
.gitattributes
.gitignore
.gitlint
.mailmap
.shippable.yml ci: use v0.10.1 docker image 2019-12-18 10:15:45 +01:00
.uncrustify.cfg
CMakeLists.txt cmake: locating zephyr modules in CMAKE_BINARY_DIR 2020-01-09 14:33:36 -05:00
CODE_OF_CONDUCT.md
CODEOWNERS samples: display: Added generic display shield sample 2020-01-10 09:18:20 -06:00
CONTRIBUTING.rst
Kconfig
Kconfig.zephyr boards: Kconfig: Enable use of shield conditional Kconfig files 2020-01-02 17:02:41 -05:00
LICENSE
Makefile
README.rst
VERSION
version.h.in
west.yml west.yml: update hal stm32g4xx module 2020-01-10 16:10:40 +01: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://zephyrproject.org/developers/#downloads
* **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