]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_M0_LPC1114_LPCXpresso/RTOSDemo/CreateProjectDirectoryStructure.bat
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS / Demo / CORTEX_M0_LPC1114_LPCXpresso / RTOSDemo / 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\FreeRTOS_Source Goto END\r
12 \r
13         REM Create the required directory structure.\r
14         MD Source\FreeRTOS_Source\r
15         MD Source\FreeRTOS_Source\include\r
16         MD Source\FreeRTOS_Source\portable\r
17         MD Source\FreeRTOS_Source\portable\GCC\r
18         MD Source\FreeRTOS_Source\portable\GCC\ARM_CM0\r
19         MD Source\FreeRTOS_Source\portable\MemMang\r
20         MD Source\Common_Demo_Tasks\r
21         MD Source\Common_Demo_Tasks\include\r
22         \r
23         REM Copy the core kernel files.\r
24         copy ..\..\..\Source\tasks.c Source\FreeRTOS_Source\r
25         copy ..\..\..\Source\queue.c Source\FreeRTOS_Source\r
26         copy ..\..\..\Source\list.c Source\FreeRTOS_Source\r
27         copy ..\..\..\Source\timers.c Source\FreeRTOS_Source\r
28         \r
29         REM Copy the common header files\r
30 \r
31         copy ..\..\..\Source\include\*.* Source\FreeRTOS_Source\include\r
32         \r
33         REM Copy the portable layer files\r
34         copy ..\..\..\Source\portable\GCC\ARM_CM0\*.* Source\FreeRTOS_Source\portable\GCC\ARM_CM0\r
35         \r
36         REM Copy the basic memory allocation files\r
37         copy ..\..\..\Source\portable\MemMang\heap_1.c Source\FreeRTOS_Source\portable\MemMang\r
38 \r
39         REM Copy the files that define the common demo tasks.\r
40         copy ..\..\Common\minimal\blocktim.c Source\Common_Demo_Tasks\r
41         copy ..\..\Common\minimal\recmutex.c Source\Common_Demo_Tasks\r
42         copy ..\..\Common\minimal\countsem.c Source\Common_Demo_Tasks\r
43         copy ..\..\Common\minimal\IntQueue.c Source\Common_Demo_Tasks\r
44         \r
45         REM Copy the common demo file headers.\r
46         copy ..\..\Common\include\blocktim.h Source\Common_Demo_Tasks\include\r
47         copy ..\..\Common\include\recmutex.h Source\Common_Demo_Tasks\include\r
48         copy ..\..\Common\include\countsem.h Source\Common_Demo_Tasks\include\r
49         copy ..\..\Common\include\IntQueue.h Source\Common_Demo_Tasks\include\r
50         \r
51 : END