Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
Bilal Wasim 10a05017bc drivers: eth: stm32: Fix driver crash caused by RX IRQ trigger
All initialization of the Ethernet interface is done in the
eth_initialize function which is invoked by the boot code.
This function sets up DMA, programs the Ethernet module and
enables IRQs. However, this function does not setup "netif"
interface info which is done when the ethernet device is
enumerated by the NET stack via the "iface_api.init" func.
However, after the eth_initialize func is called, it is
possible that the system receives RX interrupts, and the
"rx_thread" accesses the "netif" pointer to get iface info.
However, because the "netif" info is not necessarily
populated at this time, we get a crash (as OS does NULL
access).

Fixed by enabling Ethernet IRQ after the interface is
properly setup.

Tested on Nucleo F767Zi board.

Fixes #25408

Signed-off-by: Bilal Wasim <bilalwasim676@gmail.com>
2020-05-18 19:11:40 +02:00
.github scripts: west: add CANopen flash runner 2020-05-08 10:53:42 +02:00
.known-issues
arch x86: properly align initial dummy thread 2020-05-13 21:23:52 +02:00
boards boards: qemu_xtensa: enable icount mode 2020-05-14 13:52:07 +02:00
cmake cmake: find python3 on windows when multiarch are installed 2020-05-13 12:13:36 +02:00
doc doc: contribute: project roles: modify description of release team 2020-05-13 22:28:57 +02:00
drivers drivers: eth: stm32: Fix driver crash caused by RX IRQ trigger 2020-05-18 19:11:40 +02:00
dts sensor: add sensor driver for Infineon DPS310 2020-05-14 11:02:29 +02:00
include drivers: timer: get ppi configuration from dt 2020-05-18 11:07:57 +02:00
kernel kernel: wipe TLS before dropping to user mode 2020-05-13 22:02:48 +02:00
lib lib: updatehub: Fix compile warning 2020-05-18 11:12:31 +02:00
misc
modules trusted-firmware-m: Add initial plumbing for TFM 2020-05-09 16:21:51 +02:00
samples samples: net: updatehub: Add sample.yaml file 2020-05-18 11:12:31 +02:00
scripts sanitylib: Remove hardcoded sample.yaml & testcase.yaml in TestSuite class 2020-05-14 22:48:09 +02:00
share cmake: fixing infinite loop when searching for Zephyr on windows 2020-05-05 10:02:11 -05:00
soc soc: x86: apollo_lake: Fix incorrect DTS gpio nodelabel references 2020-05-14 18:00:37 +02:00
subsys Bluetooth: controller: split: Fix slave latency cancel race 2020-05-15 17:07:33 +02:00
tests tests: timer_api: fix assertion in test_timer_remaining() 2020-05-18 11:08:21 +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
.gitattributes
.gitignore
.gitlint
.mailmap
.shippable.yml ci: docker: Update image to 0.11.7 2020-05-09 13:07:40 +02:00
.uncrustify.cfg
CMakeLists.txt cmake: warn on dts_fixup.h files 2020-05-13 18:21:18 +02:00
CODEOWNERS tests: socket: socketpair: tests for socketpair(2) syscall 2020-05-10 17:46:43 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
Kconfig
Kconfig.zephyr Kconfig: Default to 'n' for LEGACY_DEVICETREE_MACROS 2020-05-13 21:22:53 +02:00
LICENSE
Makefile
README.rst
VERSION release: Zephyr 2.3.0-rc1 2020-05-10 18:55:27 +02:00
version.h.in
west.yml west.yml: Update hal_nordic to fix compilation issue with nrfx_nvmc 2020-05-18 19:07:25 +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>
   <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