]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_STM32F100_Atollic/CreateProjectDirectoryStructure.bat
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS / Demo / CORTEX_STM32F100_Atollic / 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         \r
20         REM Copy the core kernel files.\r
21         copy ..\..\Source\tasks.c FreeRTOS_Source\r
22         copy ..\..\Source\queue.c FreeRTOS_Source\r
23         copy ..\..\Source\list.c FreeRTOS_Source\r
24         copy ..\..\Source\timers.c FreeRTOS_Source\r
25         \r
26         REM Copy the common header files\r
27 \r
28         copy ..\..\Source\include\*.* FreeRTOS_Source\include\r
29         \r
30         REM Copy the portable layer files\r
31         copy ..\..\Source\portable\GCC\ARM_CM3\*.* FreeRTOS_Source\portable\GCC\ARM_CM3\r
32         \r
33         REM Copy the basic memory allocation files\r
34         copy ..\..\Source\portable\MemMang\heap_1.c FreeRTOS_Source\portable\MemMang\r
35         \r
36 : END\r