]> git.sur5r.net Git - freertos/blob
8d418c2f530d48bfa807f128c9df8fbb8462c383
[freertos] /
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
4 \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
9 \r
10 REM Have the files already been copied?\r
11 IF EXIST FreeRTOS_Source Goto END\r
12 \r
13         REM Create the required directory structure.\r
14         MD FreeRTOS_Source\r
15         MD FreeRTOS_Source\include      \r
16         MD FreeRTOS_Source\portable\GCC\r
17         MD FreeRTOS_Source\portable\GCC\MicroBlaze\r
18         MD FreeRTOS_Source\portable\MemMang     \r
19         MD Demo_Source\Common_Demo_Files\r
20         MD Demo_Source\Common_Demo_Files\include\r
21         \r
22         REM Copy the core kernel files.\r
23         copy ..\..\..\..\Source\tasks.c FreeRTOS_Source\r
24         copy ..\..\..\..\Source\queue.c FreeRTOS_Source\r
25         copy ..\..\..\..\Source\list.c FreeRTOS_Source\r
26         copy ..\..\..\..\Source\timers.c FreeRTOS_Source\r
27         \r
28         REM Copy the common header files\r
29 \r
30         copy ..\..\..\..\Source\include\*.* FreeRTOS_Source\include\r
31         \r
32         REM Copy the portable layer files\r
33         copy ..\..\..\..\Source\portable\GCC\MicroBlaze\*.* FreeRTOS_Source\portable\GCC\MicroBlaze\r
34         \r
35         REM Copy the basic memory allocation files\r
36         copy ..\..\..\..\Source\portable\MemMang\heap_2.c FreeRTOS_Source\portable\MemMang\r
37 \r
38         REM Copy the files that define the common demo tasks.\r
39     copy ..\..\..\Common\minimal\dynamic.c      Demo_Source\Common_Demo_Files\r
40     copy ..\..\..\Common\minimal\BlockQ.c       Demo_Source\Common_Demo_Files\r
41     copy ..\..\..\Common\minimal\death.c        Demo_Source\Common_Demo_Files\r
42     copy ..\..\..\Common\minimal\blocktim.c     Demo_Source\Common_Demo_Files\r
43     copy ..\..\..\Common\minimal\semtest.c      Demo_Source\Common_Demo_Files\r
44     copy ..\..\..\Common\minimal\PollQ.c        Demo_Source\Common_Demo_Files\r
45     copy ..\..\..\Common\minimal\GenQTest.c     Demo_Source\Common_Demo_Files\r
46     copy ..\..\..\Common\minimal\QPeek.c        Demo_Source\Common_Demo_Files\r
47     copy ..\..\..\Common\minimal\recmutex.c     Demo_Source\Common_Demo_Files\r
48     copy ..\..\..\Common\minimal\sp_flop.c      Demo_Source\Common_Demo_Files\r
49     copy ..\..\..\Common\minimal\flash.c        Demo_Source\Common_Demo_Files\r
50         \r
51         REM Copy the common demo file headers.\r
52     copy ..\..\..\Common\include\dynamic.h      Demo_Source\Common_Demo_Files\include\r
53     copy ..\..\..\Common\include\partest.h      Demo_Source\Common_Demo_Files\include\r
54     copy ..\..\..\Common\include\BlockQ.h       Demo_Source\Common_Demo_Files\include\r
55     copy ..\..\..\Common\include\death.h        Demo_Source\Common_Demo_Files\include\r
56     copy ..\..\..\Common\include\blocktim.h     Demo_Source\Common_Demo_Files\include\r
57     copy ..\..\..\Common\include\semtest.h      Demo_Source\Common_Demo_Files\include\r
58     copy ..\..\..\Common\include\PollQ.h        Demo_Source\Common_Demo_Files\include\r
59     copy ..\..\..\Common\include\GenQTest.h     Demo_Source\Common_Demo_Files\include\r
60     copy ..\..\..\Common\include\QPeek.h        Demo_Source\Common_Demo_Files\include\r
61     copy ..\..\..\Common\include\recmutex.h     Demo_Source\Common_Demo_Files\include\r
62     copy ..\..\..\Common\include\flop.h         Demo_Source\Common_Demo_Files\include\r
63     copy ..\..\..\Common\include\flash.h        Demo_Source\Common_Demo_Files\include\r
64     \r
65 : END\r