]> git.sur5r.net Git - freertos/blob - Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/CreateProjectDirectoryStructure.bat
Remove unnecessary files from the MicroBlaze http server file system creation directory.
[freertos] / Demo / MicroBlaze_Spartan-6_EthernetLite / SDKProjects / RTOSDemoSource / 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\MicroBlaze\r
18     MD FreeRTOS_Source\portable\MemMang    \r
19     MD Demo_Source\r
20     MD Demo_Source\include\r
21     MD lwIP\api\r
22     MD lwIP\core\r
23     MD lwIP\core\ipv4\r
24     MD lwIP\include\r
25     MD lwIP\include\ipv4\r
26     MD lwIP\include\ipv4\lwip\r
27     MD lwIP\include\lwip\r
28     MD lwIP\include\netif\r
29     MD lwIP\netif\r
30     MD lwIP\netif\include\r
31     MD lwIP\netif\include\arch\r
32     \r
33     REM Copy the core kernel files.\r
34     copy ..\..\..\..\Source\tasks.c FreeRTOS_Source\r
35     copy ..\..\..\..\Source\queue.c FreeRTOS_Source\r
36     copy ..\..\..\..\Source\list.c FreeRTOS_Source\r
37     copy ..\..\..\..\Source\timers.c FreeRTOS_Source\r
38     \r
39     REM Copy the common header files\r
40     copy ..\..\..\..\Source\include\*.* FreeRTOS_Source\include\r
41     \r
42     REM Copy the portable layer files\r
43     copy ..\..\..\..\Source\portable\GCC\MicroBlaze\*.* FreeRTOS_Source\portable\GCC\MicroBlaze\r
44     \r
45     REM Copy the basic memory allocation files\r
46     copy ..\..\..\..\Source\portable\MemMang\heap_2.c FreeRTOS_Source\portable\MemMang\r
47 \r
48     REM Copy the files that define the common demo tasks.\r
49     copy ..\..\..\Common\minimal\dynamic.c         Demo_Source\r
50     copy ..\..\..\Common\minimal\BlockQ.c          Demo_Source\r
51     copy ..\..\..\Common\minimal\death.c           Demo_Source\r
52     copy ..\..\..\Common\minimal\blocktim.c        Demo_Source\r
53     copy ..\..\..\Common\minimal\semtest.c         Demo_Source\r
54     copy ..\..\..\Common\minimal\PollQ.c           Demo_Source\r
55     copy ..\..\..\Common\minimal\GenQTest.c        Demo_Source\r
56     copy ..\..\..\Common\minimal\QPeek.c           Demo_Source\r
57     copy ..\..\..\Common\minimal\recmutex.c        Demo_Source\r
58     copy ..\..\..\Common\minimal\sp_flop.c         Demo_Source\r
59     copy ..\..\..\Common\minimal\flash.c           Demo_Source\r
60     copy ..\..\..\Common\minimal\comtest_strings.c Demo_Source\r
61     copy ..\..\..\Common\minimal\TimerDemo.c       Demo_Source\r
62     \r
63     REM Copy the common demo file headers.\r
64     copy ..\..\..\Common\include\dynamic.h         Demo_Source\include\r
65     copy ..\..\..\Common\include\partest.h         Demo_Source\include\r
66     copy ..\..\..\Common\include\BlockQ.h          Demo_Source\include\r
67     copy ..\..\..\Common\include\death.h           Demo_Source\include\r
68     copy ..\..\..\Common\include\blocktim.h        Demo_Source\include\r
69     copy ..\..\..\Common\include\semtest.h         Demo_Source\include\r
70     copy ..\..\..\Common\include\PollQ.h           Demo_Source\include\r
71     copy ..\..\..\Common\include\GenQTest.h        Demo_Source\include\r
72     copy ..\..\..\Common\include\QPeek.h           Demo_Source\include\r
73     copy ..\..\..\Common\include\recmutex.h        Demo_Source\include\r
74     copy ..\..\..\Common\include\flop.h            Demo_Source\include\r
75     copy ..\..\..\Common\include\flash.h           Demo_Source\includeREM\r
76     copy ..\..\..\Common\include\comtest_strings.h Demo_Source\include\r
77     copy ..\..\..\Common\include\serial.h          Demo_Source\include\r
78     copy ..\..\..\Common\include\comtest.h         Demo_Source\include\r
79     copy ..\..\..\Common\include\TimerDemo.h       Demo_Source\include\r
80     \r
81     REM Copy the required lwIP files\r
82     copy ..\..\..\Common\ethernet\lwip-1.4.0\src\api\*.c                       lwIP\api\r
83     copy ..\..\..\Common\ethernet\lwip-1.4.0\src\core\*.c                      lwIP\core\r
84     copy ..\..\..\Common\ethernet\lwip-1.4.0\src\core\ipv4\*.c                 lwIP\core\ipv4\r
85     copy ..\..\..\Common\ethernet\lwip-1.4.0\src\include\ipv4\lwip\*.h         lwIP\include\ipv4\lwip\r
86     copy ..\..\..\Common\ethernet\lwip-1.4.0\src\include\lwip\*.h              lwIP\include\lwip\r
87     copy ..\..\..\Common\ethernet\lwip-1.4.0\src\include\netif\*.h             lwIP\include\netif\r
88     copy ..\..\..\Common\ethernet\lwip-1.4.0\src\netif\etharp.c                lwIP\netif\r
89     copy ..\..\..\Common\ethernet\lwip-1.4.0\ports\MicroBlaze-Ethernet-Lite    lwip\netif\r
90     copy ..\..\..\Common\ethernet\lwip-1.4.0\ports\MicroBlaze-Ethernet-Lite\include\arch lwip\netif\include\arch\r
91 \r
92 : END\r