- UID
- 117856
- 性别
- 男
|
Altera provides the MicroC/OS-II real-time operating system (RTOS) as part of the Nios II development kit. The IDE makes it easy to base your C/C++ application project on MicroC/OS-II. The MicroC/OS-II real-time kernel is included as part of the system library.
To enable MicroC/OS-II for your project, do the following:
Right-click the application project in the C/C++ Projects view.
Choose System Library Properties.
Select the System Library page of the Properties window.
Select MicroC/OS-II in the RTOS: field.
After selecting the MicroC/OS-II RTOS, you can click the RTOS Options... button to configure the MicroC/OS-II kernel. The RTOS options are described briefly in the Nios II Software Developer's Handbook. Full detail is provided in Chapter 17: MicroC/OS-II Configuration Manual of the book MicroC/OS-II: The Real-Time Kernel, Second Edition by Jean Labrosse (CMP Books). Click OK to save the settings and close the MicroC/OS-II RTOS Options window if you opened it.
Click Apply to save the settings, or OK save the settings and close the Properties page.
The system library will include the MicroC/OS-II kernel the next time you build the project. Your program code can use the MicroC/OS-II API.
You are allowed to evaluate MicroC/OS-II at no charge using the Nios II development board. However, you must purchase a license to ship a commercial product based on MicroC/OS-II. See the Nios II Software Developer's Handbook.
。。。。。。。。。。 |
|