]> git.sur5r.net Git - freertos/blob - Demo/CORTEX_LPC1768_GCC_RedSuite/src/CreateProjectDirectoryStructure.bat
Add extra files to the new LPC1768 Red Suite demo.
[freertos] / Demo / CORTEX_LPC1768_GCC_RedSuite / src / CreateProjectDirectoryStructure.bat
1 REM Copies all the required files from their location within the standard\r
2 REM FreeRTOS directory structure to under the Eclipse project directory.\r
3 REM This permits the Eclipse project to be used in 'managed' mode and without\r
4 REM having to setup any linked resources.\r
5 \r
6 REM Have the files already been copied?\r
7 IF EXIST FreeRTOS Goto END\r
8 \r
9         REM Create the required directory structure.\r
10         MD FreeRTOS\r
11         MD FreeRTOS\include     \r
12         MD FreeRTOS\portable\GCC\ARM_CM3\r
13         MD FreeRTOS\portable\MemMang    \r
14         MD "Common Demo Tasks"\r
15         MD "Common Demo Tasks\include"\r
16         \r
17         REM Copy the core kernel files.\r
18         copy ..\..\..\Source\tasks.c FreeRTOS\r
19         copy ..\..\..\Source\queue.c FreeRTOS\r
20         copy ..\..\..\Source\list.c FreeRTOS\r
21         \r
22         REM Copy the common header files\r
23 \r
24         copy ..\..\..\Source\include\*.* FreeRTOS\include\r
25         \r
26         REM Copy the portable layer files\r
27         copy ..\..\..\Source\portable\GCC\ARM_CM3\*.* FreeRTOS\portable\GCC\ARM_CM3\r
28         \r
29         REM Copy the basic memory allocation files\r
30         copy ..\..\..\Source\portable\MemMang\*.* FreeRTOS\portable\MemMang\r
31 \r
32         REM Copy the files that define the common demo tasks.\r
33         copy ..\..\Common\minimal\BlockQ.c "Common Demo Tasks"\r
34         copy ..\..\Common\minimal\blocktim.c "Common Demo Tasks"\r
35         copy ..\..\Common\minimal\flash.c "Common Demo Tasks"\r
36         copy ..\..\Common\minimal\GenQTest.c "Common Demo Tasks"\r
37         copy ..\..\Common\minimal\integer.c "Common Demo Tasks"\r
38         copy ..\..\Common\minimal\PollQ.c "Common Demo Tasks"\r
39         copy ..\..\Common\minimal\QPeek.c "Common Demo Tasks"\r
40         copy ..\..\Common\minimal\recmutex.c "Common Demo Tasks"\r
41         copy ..\..\Common\minimal\semtest.c "Common Demo Tasks"\r
42         \r
43         REM Copy the common demo file headers.\r
44         copy ..\..\Common\include\*.* "Common Demo Tasks\include"\r
45         \r
46 : END