Go to file
Joakim Andersson a961679171 Bluetooth: Host: Fix deadlock calling API functions from SMP callbacks
Fix deadlock in Bluetooth Host. Deadlock could happen from the SMP
callbacks when calling Bluetooth API functions. This is because the
callbacks was given directly from the HCI TX thread. If the calling
API function resulted in trying to send a new HCI command it would post
this HCI command to the HCI TX thread and then wait for command complete
event. This would result in the HCI TX thread blocked waiting for the
itself to process the command.

Example:
Calling bt_conn_le_conn_param_update from pairing_complete callback.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
2019-11-21 14:51:50 +02:00
.github/ISSUE_TEMPLATE Revert "github: Add plumbing of using the github workflow labeler" 2019-11-06 19:46:32 +01:00
.known-issues
arch posix arch: Use zephyr_link_libraries() to set -m32 2019-11-21 13:08:56 +01:00
boards native_posix: Ensure printf fed type matches format specifier 2019-11-20 21:55:13 +01:00
cmake cmake: Support renode 1.8.2. 2019-11-15 17:37:17 -05:00
doc doc: Remind users about environment variables in getting started 2019-11-21 10:56:13 +01:00
drivers drivers/flash: nRF driver uses relative addresses 2019-11-21 13:35:28 +01:00
dts soc: arm: nordic: adding ipc aliases for nRF53 2019-11-20 19:29:06 +01:00
ext drivers: gpio: remove altera gpio driver 2019-11-06 10:56:41 -05:00
include doc: remove old reference to nanokernel in API doc 2019-11-20 17:47:55 -05:00
kernel kernel: thread: Fix randomness problem with stack pointer random 2019-11-15 13:43:32 -08:00
lib lib: os: uncrustify sem.c 2019-11-18 13:52:15 +01:00
misc
modules mbedtls: make all options depend on MBEDTLS 2019-11-15 17:00:13 -05:00
samples doc: fix LPS22HB doc indentation 2019-11-20 17:47:20 -05:00
scripts sanitycheck: fix documentation of --discard-report 2019-11-20 14:01:34 -05:00
soc soc: microchip_mec: Add header for extracting eSPI data 2019-11-20 15:02:08 -05:00
subsys Bluetooth: Host: Fix deadlock calling API functions from SMP callbacks 2019-11-21 14:51:50 +02:00
tests tests: Bluetooth: Bsim tests: expand README a bit 2019-11-21 08:44:26 +01:00
.checkpatch.conf
.clang-format
.codecov.yml
.editorconfig
.gitattributes
.gitignore docs: guide: Add build system information 2019-11-15 14:58:51 -05:00
.gitlint
.mailmap
.shippable.yml
.uncrustify.cfg
CMakeLists.txt cmake: copy globals from libc_nano.a to z_libc_partition 2019-11-18 09:38:29 -06:00
CODE_OF_CONDUCT.md
CODEOWNERS CODEOWNERS: add code owners for nRFx IPM driver 2019-11-20 19:29:06 +01:00
CONTRIBUTING.rst
Kconfig kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.zephyr kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
LICENSE
Makefile
README.rst doc: New developer getting started guide 2019-11-13 14:05:47 -06:00
VERSION release: Zephyr 2.1.0-rc1 2019-11-10 19:46:29 -06:00
version.h.in
west.yml west.yml: Update ci-tools to run the (e)dtlib test suites in CI 2019-11-14 07:56:33 -06:00
zephyr-env.cmd
zephyr-env.sh zephyr-env.sh: reduce posixargzero side effects. 2019-11-11 10:31:19 +01:00

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