The download includes the kernel source code, and a demo application for EVERY
RTOS port. See http://www.freertos.org/a00017.html for full details of the
directory structure and information on locating the files you require.
The easiest way to use FreeRTOS is start start with one of the demo application
projects. Once this is running the project can be modified to include your own
source files. This way the correct files and compiler options will be
automatically included in your application.
+ The Source directory contains the real time kernel source files for every
port. The kernel itself is only 3 files.
+ The Demo directory contains the demo application source files for every
port.
+ The TraceCon directory contains the trace visualisation exe file.
See the readme files in the respective directories for further information.
完成在S3C2410處理器上移植μC/OS-II內核,然后實現以下多任務:
a) 控制實驗箱核心板上4盞LED燈輪流亮滅;
b) 將LED1連接到ARM9-2410EP增強型實驗箱擴展口的DA OUT端口,通過實驗箱上的鍵盤(比如“↑”、“↓”鍵)控制LED1亮暗變化,同時在超級終端顯示該控制值;
c) 將LED2連接到擴展口的I/O輸出口,通過超級終端按鍵控制LED2亮滅,即按一下PC的超級終端某個鍵(比如回車鍵)LED2滅,再按LED2亮,反復循環。
fft.c--This computes an in-place complex-to-complex FFT
x and y are the real and imaginary arrays of 2^m points.
dir = 1 gives forward transform
dir = -1 gives reverse transform