]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTUS_APS3_GCC/CreateProjectDirectoryStructure.bat
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS / Demo / CORTUS_APS3_GCC / 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 Source Goto END\r
12 \r
13         REM Create the required directory structure.\r
14         MD Source\r
15         MD Source\include       \r
16         MD Source\portable\GCC\CORTUS_APS3\r
17         MD Source\portable\MemMang      \r
18         MD Demo\Common\r
19         MD Demo\Common\include\r
20         \r
21         REM Copy the core kernel files.\r
22         copy ..\..\Source\*.* Source\r
23         \r
24         REM Copy the common header files\r
25         copy ..\..\Source\include\*.* Source\include\r
26         \r
27         REM Copy the portable layer files\r
28         copy ..\..\Source\portable\GCC\CORTUS_APS3\*.* Source\portable\GCC\CORTUS_APS3\r
29         \r
30         REM Copy the basic memory allocation files\r
31         copy ..\..\Source\portable\MemMang\heap_2.c Source\portable\MemMang\r
32 \r
33         REM Copy the files that define the common demo tasks.\r
34         copy ..\common\Minimal\BlockQ.c Demo\Common\r
35         copy ..\common\Minimal\comtest.c Demo\Common\r
36         copy ..\common\Minimal\dynamic.c Demo\Common\r
37         copy ..\common\Minimal\flash.c Demo\Common\r
38         copy ..\common\Minimal\integer.c Demo\Common\r
39         copy ..\common\Minimal\PollQ.c Demo\Common\r
40         copy ..\common\Minimal\semtest.c Demo\Common\r
41         \r
42         REM Copy the common demo file headers.\r
43         copy ..\common\include\*.* Demo\Common\include\r
44         \r
45 : END\r