Nios® II Software Developer Handbook

ID 683525
Date 8/28/2023
Public
Document Table of Contents

5.3.2.2.5. Optional Real-Time Operating System

The Nios® II EDS includes an implementation of the third-party MicroC/OS-II RTOS that you can optionally include in your BSP. MicroC/OS-II is built on the HAL, and implements a simple, well-documented RTOS scheduler. You can modify settings that become part of the BSP settings. Other operating systems are available from third-party vendors.

The Micrium MicroC/OS-II is a multi-threaded run-time environment. It is built on the Intel FPGA HAL.

The MicroC/OS-II directory structure is a superset of the HAL BSP directory structure. All HAL BSP generated files also exist in the MicroC/OS-II BSP.

The MicroC/OS-II source code resides in the UCOSII directory. The UCOSII directory is contained in the BSP directory, like the HAL directory, and has the same structure (that is, src and inc directories). The UCOSII directory contains only copied files.

The MicroC/OS-II BSP library archive is named libucosii_bsp.a. You use this file the same way you use libhal_bsp.a in a HAL BSP.