Zephyr is an open-source Real-Time Operating System (RTOS) with device drivers and a cross-compilation toolchain that can be used with GRLIB System On Chip (SoC) processor designs. The Linux Foundation hosts the Zephyr Project which provides the software source code releases, documentation, forums and other resources available to the Zephyr Community.
The GRLIB processor IP families current support available:
Specific SoC processor components and Boards are supported either via the generic BSP (user-provided configuration via DTS) or via specific BSPs available:
The GRLIB IP library includes IP core are commonly found in our Processor Components and custom FPGA designs. The peripheral interfaces are supported by Zephyr Device Drivers for the following GRLIB IPs and may vary depending on Processor architecture:
SPARC and RISC-V pre-compiled GNU GCC based C/C++ compiler toolchains are available within the Zephyr Software Development Kit (SDK) starting with version 0.11.3 and in source code:
SW and documentation packages are freely available via the Zephyr Project homepage and Git repositories.
To get started with Zephyr on LEON, the official Getting started Guide is a great starting point. The guide will by default check out the Zephyr master branch. To work on a specific Zephyr release version the appropriate Git tag is selected instead, for example use the tag zephyr-v2.5.0 for 2.5.0 release:
$ git checkout -B work zephyr-v2.5.0
Application development information and the kernel reference is available online via the Zephyr Project Documentation. Samples and Demos for Zephyr are also available.
The Zephyr in-tree kernel test suite can be executed with TSIM3 or QEMU provided by the Zephyr SDK. The test suite infrastructure also allows for targeting custom LEON systems.
The QEMU LEON3 board runs in the GitHub continuous integration flow. The QEMU system emulator distributed with Zephyr SDK provides a basic set of peripherals. TSIM3 is recommended for accurate LEON simulation and for simulating peripherals: