Hello MicroC/OS-II

Hello_ucosii is a simple hello world program running MicroC/OS-II. The design is a very simple application that demonstrates µC/OS-II running on a Nios® II processor. When creating your own full MicroC/OS-II application, be sure to account for system issues such as checking system call return codes.

Using This Design Example

To obtain this design example, download a free evaluation version of the Nios II Embedded Design Suite (EDS). This embedded software example is installed with the Nios II EDS in the <Nios II EDS installation path>/examples/software directory and is available as a Nios II integrated development environment (IDE) project template. The template includes the project settings required to run this design on the supported target hardware configurations. To use this software example, simply create a new C/C++ application project in the IDE and choose the desired project template.

The use of this design is governed by, and subject to, the terms and conditions of the Altera Hardware Reference Design License Agreement.

Hardware Requirements

This example requires the following devices to be present in the target hardware design:

  • Joint Test Action Group (JTAG) UART
  • Timer

The following System Library settings are required:

  • Real-Time Operating System (RTOS) Type-MicroC/OS-II
  • Periodic System Timer

You can run this software design example on the following Nios II hardware design examples:

Stratix® and Stratix II Design Examples

  • Standard
  • Full Featured

Cyclone® Design Examples

  • Standard
  • Full Featured
  • Low Cost

Related Links

For more information about using this example in your project, go to:

Design Examples Disclaimer

These design examples may only be used within Altera Corporation devices and remain the property of Altera. They are being provided on an “as-is” basis and as an accommodation; therefore, all warranties, representations, or guarantees of any kind (whether express, implied, or statutory) including, without limitation, warranties of merchantability, non-infringement, or fitness for a particular purpose, are specifically disclaimed. Altera expressly does not recommend, suggest, or require that these examples be used in combination with any other product not provided by Altera.