1 REM This file should be executed from the command line prior to the first
\r
2 REM build. It will be necessary to refresh the Eclipse project once the
\r
3 REM .bat file has been executed (normally just press F5 to refresh).
\r
5 REM Copies all the required files from their location within the standard
\r
6 REM FreeRTOS directory structure to under the Eclipse project directory.
\r
7 REM This permits the Eclipse project to be used in 'managed' mode and without
\r
8 REM having to setup any linked resources.
\r
10 REM Have the files already been copied?
\r
11 IF EXIST FreeRTOS Goto END
\r
13 REM Create the required directory structure.
\r
15 MD FreeRTOS\include
\r
16 MD FreeRTOS\portable\GCC\AVR32_UC3
\r
17 MD FreeRTOS\portable\MemMang
\r
18 MD Common_Demo_Tasks
\r
19 MD Common_Demo_Tasks\Minimal
\r
20 MD Common_Demo_Tasks\include
\r
22 REM Copy the core kernel files.
\r
23 copy ..\..\Source\*.* FreeRTOS
\r
25 REM Copy the common header files
\r
26 copy ..\..\Source\include\*.* FreeRTOS\include
\r
28 REM Copy the portable layer files
\r
29 copy ..\..\Source\portable\GCC\AVR32_UC3\*.* FreeRTOS\portable\GCC\AVR32_UC3
\r
31 REM Copy the basic memory allocation files
\r
32 copy ..\..\Source\portable\MemMang\heap_3.c FreeRTOS\portable\MemMang
\r
34 REM Copy the files that define the common demo tasks.
\r
35 copy ..\common\Minimal\BlockQ.c Common_Demo_Tasks\Minimal
\r
36 copy ..\common\Minimal\comtest.c Common_Demo_Tasks\Minimal
\r
37 copy ..\common\Minimal\death.c Common_Demo_Tasks\Minimal
\r
38 copy ..\common\Minimal\dynamic.c Common_Demo_Tasks\Minimal
\r
39 copy ..\common\Minimal\flash.c Common_Demo_Tasks\Minimal
\r
40 copy ..\common\Minimal\flop.c Common_Demo_Tasks\Minimal
\r
41 copy ..\common\Minimal\integer.c Common_Demo_Tasks\Minimal
\r
42 copy ..\common\Minimal\PollQ.c Common_Demo_Tasks\Minimal
\r
43 copy ..\common\Minimal\semtest.c Common_Demo_Tasks\Minimal
\r
45 REM Copy the common demo file headers.
\r
46 copy ..\common\include\*.* Common_Demo_Tasks\include
\r