]> begriffs open source - cmsis-freertos/blob - Demo/CORTEX_A2F200_SoftConsole/CreateProjectDirectoryStructure.bat
Update cmsis_os2.c
[cmsis-freertos] / Demo / CORTEX_A2F200_SoftConsole / CreateProjectDirectoryStructure.bat
1 REM This file should be executed from the command line prior to the first
2 REM build.  It will be necessary to refresh the Eclipse project once the
3 REM .bat file has been executed (normally just press F5 to refresh).
4
5 REM Copies all the required files from their location within the standard
6 REM FreeRTOS directory structure to under the Eclipse project directory.
7 REM This permits the Eclipse project to be used in 'managed' mode and without
8 REM having to setup any linked resources.
9
10 REM Have the files already been copied?
11 IF EXIST FreeRTOS_Source Goto END
12
13         REM Create the required directory structure.
14         MD FreeRTOS_Source
15         MD FreeRTOS_Source\include      
16         MD FreeRTOS_Source\portable\GCC
17         MD FreeRTOS_Source\portable\GCC\ARM_CM3
18         MD FreeRTOS_Source\portable\MemMang     
19         MD FreeTCPIP
20         MD FreeTCPIP\http_Common
21         MD FreeTCPIP\apps
22         MD FreeTCPIP\apps\httpd
23         MD FreeTCPIP\net
24         MD FreeTCPIP\sys
25         MD Common_Demo_Tasks
26         MD Common_Demo_Tasks\include
27                 
28         REM Copy the core kernel files.
29         copy ..\..\Source\tasks.c FreeRTOS_Source
30         copy ..\..\Source\queue.c FreeRTOS_Source
31         copy ..\..\Source\list.c FreeRTOS_Source
32         copy ..\..\Source\timers.c FreeRTOS_Source
33         
34         REM Copy the common header files
35         copy ..\..\Source\include\*.* FreeRTOS_Source\include
36         
37         REM Copy the portable layer files
38         copy ..\..\Source\portable\GCC\ARM_CM3\*.* FreeRTOS_Source\portable\GCC\ARM_CM3
39         
40         REM Copy the basic memory allocation files
41         copy ..\..\Source\portable\MemMang\heap_2.c FreeRTOS_Source\portable\MemMang
42         
43         REM Copy the core FreeTCPIP (based on uIP) files
44         copy ..\Common\ethernet\FreeTCPIP\psock.c FreeTCPIP
45         copy ..\Common\ethernet\FreeTCPIP\timer.c FreeTCPIP
46         copy ..\Common\ethernet\FreeTCPIP\uip.c FreeTCPIP
47         copy ..\Common\ethernet\FreeTCPIP\uip_arp.c FreeTCPIP
48         
49         REM Copy the FreeTCPIP (based on uIP) header files
50         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\*.h FreeTCPIP\apps\httpd
51         copy ..\Common\ethernet\FreeTCPIP\net\*.h FreeTCPIP\net
52         copy ..\Common\ethernet\FreeTCPIP\sys\*.h FreeTCPIP\sys
53         
54         REM Copy the core HTTPD files
55         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c FreeTCPIP\http_Common
56         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c FreeTCPIP\http_Common
57         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c FreeTCPIP\http_Common      
58
59         REM Copy the common demo files used by this demo
60         copy ..\Common\Minimal\TimerDemo.c Common_Demo_Tasks
61         copy ..\Common\Minimal\BlockQ.c Common_Demo_Tasks
62         copy ..\Common\Minimal\blocktim.c Common_Demo_Tasks
63         copy ..\Common\Minimal\death.c Common_Demo_Tasks
64         copy ..\Common\Minimal\dynamic.c Common_Demo_Tasks
65         copy ..\Common\Minimal\flash.c Common_Demo_Tasks
66         copy ..\Common\Minimal\GenQTest.c Common_Demo_Tasks
67         copy ..\Common\Minimal\QPeek.c Common_Demo_Tasks
68         copy ..\Common\Minimal\recmutex.c Common_Demo_Tasks
69         copy ..\Common\Minimal\semtest.c Common_Demo_Tasks
70         
71         REM Copy the common demo header files
72         copy ..\Common\include\TimerDemo.h Common_Demo_Tasks\include
73         copy ..\Common\include\BlockQ.h Common_Demo_Tasks\include
74         copy ..\Common\include\blocktim.h Common_Demo_Tasks\include
75         copy ..\Common\include\death.h Common_Demo_Tasks\include
76         copy ..\Common\include\dynamic.h Common_Demo_Tasks\include
77         copy ..\Common\include\flash.h Common_Demo_Tasks\include
78         copy ..\Common\include\GenQTest.h Common_Demo_Tasks\include
79         copy ..\Common\include\QPeek.h Common_Demo_Tasks\include
80         copy ..\Common\include\recmutex.h Common_Demo_Tasks\include
81         copy ..\Common\include\semtest.h Common_Demo_Tasks\include
82         copy ..\Common\include\partest.h Common_Demo_Tasks\include
83         
84 : END