Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
Emil Obalski 27f207694c usb: hid: Allow to send data only if CONFIGURED.
USB device shall be able to send only in CONFIGURED state.
Zephyr USB HID device class allows to send the data no matter
of the USB state what is wrong. Attempting to write to endpoint
buffer in state != CONFIGURED may lead to driver error.

This patch introduces state tracing for USB HID class and
allows to send data using hid_int_ep_write() class API
only if the device remains in CONFIGURED state.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
2020-08-13 11:45:31 +02:00
.buildkite ci: Bump timeout for daily build to 3.5 hours 2020-08-11 11:08:49 -05:00
.github actions: daily_tests: fetch all tags 2020-07-20 08:57:44 -04:00
.known-issues
arch x86: increment default page pool pages 2020-08-12 16:13:19 -05:00
boards shields: adafruit_2_8_tft_touch_v2: add note about touch IRQ 2020-08-12 12:35:04 +02:00
cmake cmake: Set TOOLCHAIN_ARCH based on OS_PLATFORM 2020-08-07 06:54:18 -05:00
doc doc: syscalls: Fix typos in syscalls documentation 2020-08-12 08:50:19 -07:00
drivers drivers: i2c_ll_stm32_v1: Reset i2c device on timeout 2020-08-12 14:53:37 -05:00
dts dts: riscv: Fix a label in litex-vexriscv DTS 2020-08-12 16:40:07 -05:00
include posix: linker: Wrap rodata and rwdata in sections. 2020-08-13 11:41:39 +02:00
kernel kernel: do not call swap if next ready thread is current thread 2020-08-12 15:32:29 -04:00
lib lib: fix compile error for ARC arch 2020-08-12 09:22:37 +02:00
misc
modules modules: nordic: add 802.15.4 multiprotocol support 2020-08-13 10:44:36 +02:00
samples usb: hid: Allow to send data only if CONFIGURED. 2020-08-13 11:45:31 +02:00
scripts hardening: Deal with empty lines in csv file 2020-08-12 16:43:18 -04:00
share
soc soc: silabs_exx32: add missing ifs to Kconfig.defconfig 2020-08-10 08:57:37 -05:00
subsys usb: hid: Allow to send data only if CONFIGURED. 2020-08-13 11:45:31 +02:00
tests test: logging: Add more test cases for log core 2020-08-12 17:08:15 -05:00
.checkpatch.conf
.clang-format
.codecov.yml
.editorconfig editorconfig: indent Kconfig files with tabs 2020-07-08 21:30:38 -04:00
.gitattributes
.gitignore
.gitlint
.mailmap
.uncrustify.cfg
CMakeLists.txt
CODEOWNERS CODEOWNERS: Add codeowner for drivers/sensor/mpr 2020-08-06 11:50:04 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
Kconfig
Kconfig.zephyr Kconfig.zephyr: help text fixes 2020-08-09 09:31:36 -04:00
LICENSE
MAINTAINERS.yml mgmt: Move mcumgr into its own folder 2020-07-31 08:46:53 -05:00
Makefile
README.rst doc: Replace shippable badge with buildkite badge 2020-07-14 07:21:44 -05:00
VERSION
version.h.in
west.yml modules: nordic: add 802.15.4 multiprotocol support 2020-08-13 10:44:36 +02:00
zephyr-env.cmd
zephyr-env.sh

README.rst

.. 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>
   <a href="https://buildkite.com/zephyr/zephyr">
   <img
   src="https://badge.buildkite.com/f5bd0dc88306cee17c9b38e78d11bb74a6291e3f40e7d13f31.svg?branch=master"></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-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