]> begriffs open source - cmsis-freertos/blob - Demo/CORTEX_STM32F100_Atollic/CreateProjectDirectoryStructure.bat
Update cmsis_os2.c
[cmsis-freertos] / Demo / CORTEX_STM32F100_Atollic / CreateProjectDirectoryStructure.bat
1 REM This file should be executed from the command line prior to the first
2 REM build.  It will be necessary to refresh the Eclipse project once the
3 REM .bat file has been executed (normally just press F5 to refresh).
4
5 REM Copies all the required files from their location within the standard
6 REM FreeRTOS directory structure to under the Eclipse project directory.
7 REM This permits the Eclipse project to be used in 'managed' mode and without
8 REM having to setup any linked resources.
9
10 REM Have the files already been copied?
11 IF EXIST FreeRTOS_Source Goto END
12
13         REM Create the required directory structure.
14         MD FreeRTOS_Source
15         MD FreeRTOS_Source\include      
16         MD FreeRTOS_Source\portable\GCC
17         MD FreeRTOS_Source\portable\GCC\ARM_CM3
18         MD FreeRTOS_Source\portable\MemMang     
19         
20         REM Copy the core kernel files.
21         copy ..\..\Source\tasks.c FreeRTOS_Source
22         copy ..\..\Source\queue.c FreeRTOS_Source
23         copy ..\..\Source\list.c FreeRTOS_Source
24         copy ..\..\Source\timers.c FreeRTOS_Source
25         
26         REM Copy the common header files
27
28         copy ..\..\Source\include\*.* FreeRTOS_Source\include
29         
30         REM Copy the portable layer files
31         copy ..\..\Source\portable\GCC\ARM_CM3\*.* FreeRTOS_Source\portable\GCC\ARM_CM3
32         
33         REM Copy the basic memory allocation files
34         copy ..\..\Source\portable\MemMang\heap_1.c FreeRTOS_Source\portable\MemMang
35         
36 : END