]> git.sur5r.net Git - freertos/blob - Demo/CORTEX_A2F200_SoftConsole/CreateProjectDirectoryStructure.bat
Update the SmartFusion SoftConsole directory structure to include the webserver files.
[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                 \r
26         REM Copy the core kernel files.\r
27         copy ..\..\Source\tasks.c FreeRTOS_Source\r
28         copy ..\..\Source\queue.c FreeRTOS_Source\r
29         copy ..\..\Source\list.c FreeRTOS_Source\r
30         copy ..\..\Source\timers.c FreeRTOS_Source\r
31         \r
32         REM Copy the common header files\r
33         copy ..\..\Source\include\*.* FreeRTOS_Source\include\r
34         \r
35         REM Copy the portable layer files\r
36         copy ..\..\Source\portable\GCC\ARM_CM3\*.* FreeRTOS_Source\portable\GCC\ARM_CM3\r
37         \r
38         REM Copy the basic memory allocation files\r
39         copy ..\..\Source\portable\MemMang\heap_1.c FreeRTOS_Source\portable\MemMang\r
40         \r
41         REM Copy the core FreeTCPIP (based on uIP) files\r
42         copy ..\Common\ethernet\FreeTCPIP\psock.c FreeTCPIP\r
43         copy ..\Common\ethernet\FreeTCPIP\timer.c FreeTCPIP\r
44         copy ..\Common\ethernet\FreeTCPIP\uip.c FreeTCPIP\r
45         copy ..\Common\ethernet\FreeTCPIP\uip_arp.c FreeTCPIP\r
46         \r
47         REM Copy the FreeTCPIP (based on uIP) header files\r
48         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\*.h FreeTCPIP\apps\httpd\r
49         copy ..\Common\ethernet\FreeTCPIP\net\*.h FreeTCPIP\net\r
50         copy ..\Common\ethernet\FreeTCPIP\sys\*.h FreeTCPIP\sys\r
51         \r
52         \r
53         REM Copy the core HTTPD files\r
54         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\http-strings.c FreeTCPIP\http_Common\r
55         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\httpd-fs.c FreeTCPIP\http_Common\r
56         copy ..\Common\ethernet\FreeTCPIP\apps\httpd\httpd.c FreeTCPIP\http_Common      \r
57         \r
58 : END\r