]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_A2F200_SoftConsole/CreateProjectDirectoryStructure.bat
commit 9f316c246baafa15c542a5aea81a94f26e3d6507
[freertos] / FreeRTOS / Demo / CORTEX_A2F200_SoftConsole / CreateProjectDirectoryStructure.bat
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\ARM_CM3\r
18         MD FreeRTOS_Source\portable\MemMang     \r
19         MD FreeTCPIP\r
20         MD FreeTCPIP\http_Common\r
21         MD FreeTCPIP\apps\r
22         MD FreeTCPIP\apps\httpd\r
23         MD FreeTCPIP\net\r
24         MD FreeTCPIP\sys\r
25         MD Common_Demo_Tasks\r
26         MD Common_Demo_Tasks\include\r
27                 \r
28         REM Copy the core kernel files.\r
29         copy ..\..\Source\tasks.c FreeRTOS_Source\r
30         copy ..\..\Source\queue.c FreeRTOS_Source\r
31         copy ..\..\Source\list.c FreeRTOS_Source\r
32         copy ..\..\Source\timers.c FreeRTOS_Source\r
33         \r
34         REM Copy the common header files\r
35         copy ..\..\Source\include\*.* FreeRTOS_Source\include\r
36         \r
37         REM Copy the portable layer files\r
38         copy ..\..\Source\portable\GCC\ARM_CM3\*.* FreeRTOS_Source\portable\GCC\ARM_CM3\r
39         \r
40         REM Copy the basic memory allocation files\r
41         copy ..\..\Source\portable\MemMang\heap_2.c FreeRTOS_Source\portable\MemMang\r
42         \r
43         REM Copy the core FreeTCPIP (based on uIP) files\r
44         copy ..\Common\ethernet\FreeTCPIP\psock.c FreeTCPIP\r
45         copy ..\Common\ethernet\FreeTCPIP\timer.c FreeTCPIP\r
46         copy ..\Common\ethernet\FreeTCPIP\uip.c FreeTCPIP\r
47         copy ..\Common\ethernet\FreeTCPIP\uip_arp.c FreeTCPIP\r
48         \r
49         REM Copy the FreeTCPIP (based on uIP) header files\r
50         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\*.h FreeTCPIP\apps\httpd\r
51         copy ..\Common\ethernet\FreeTCPIP\net\*.h FreeTCPIP\net\r
52         copy ..\Common\ethernet\FreeTCPIP\sys\*.h FreeTCPIP\sys\r
53         \r
54         REM Copy the core HTTPD files\r
55         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c FreeTCPIP\http_Common\r
56         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c FreeTCPIP\http_Common\r
57         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c FreeTCPIP\http_Common      \r
58 \r
59         REM Copy the common demo files used by this demo\r
60         copy ..\Common\Minimal\TimerDemo.c Common_Demo_Tasks\r
61         copy ..\Common\Minimal\BlockQ.c Common_Demo_Tasks\r
62         copy ..\Common\Minimal\blocktim.c Common_Demo_Tasks\r
63         copy ..\Common\Minimal\death.c Common_Demo_Tasks\r
64         copy ..\Common\Minimal\dynamic.c Common_Demo_Tasks\r
65         copy ..\Common\Minimal\flash.c Common_Demo_Tasks\r
66         copy ..\Common\Minimal\GenQTest.c Common_Demo_Tasks\r
67         copy ..\Common\Minimal\QPeek.c Common_Demo_Tasks\r
68         copy ..\Common\Minimal\recmutex.c Common_Demo_Tasks\r
69         copy ..\Common\Minimal\semtest.c Common_Demo_Tasks\r
70         \r
71         REM Copy the common demo header files\r
72         copy ..\Common\include\TimerDemo.h Common_Demo_Tasks\include\r
73         copy ..\Common\include\BlockQ.h Common_Demo_Tasks\include\r
74         copy ..\Common\include\blocktim.h Common_Demo_Tasks\include\r
75         copy ..\Common\include\death.h Common_Demo_Tasks\include\r
76         copy ..\Common\include\dynamic.h Common_Demo_Tasks\include\r
77         copy ..\Common\include\flash.h Common_Demo_Tasks\include\r
78         copy ..\Common\include\GenQTest.h Common_Demo_Tasks\include\r
79         copy ..\Common\include\QPeek.h Common_Demo_Tasks\include\r
80         copy ..\Common\include\recmutex.h Common_Demo_Tasks\include\r
81         copy ..\Common\include\semtest.h Common_Demo_Tasks\include\r
82         copy ..\Common\include\partest.h Common_Demo_Tasks\include\r
83         \r
84 : END\r