1 |
584 |
jeremybenn |
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\CCS4
|
17 |
|
|
MD FreeRTOS_Source\portable\CCS4\MSP430X
|
18 |
|
|
MD FreeRTOS_Source\portable\MemMang
|
19 |
|
|
MD Demo_Source\Common_Demo_Files
|
20 |
|
|
MD Demo_Source\Common_Demo_Files\include
|
21 |
|
|
|
22 |
|
|
REM Copy the core kernel files.
|
23 |
|
|
copy ..\..\Source\tasks.c FreeRTOS_Source
|
24 |
|
|
copy ..\..\Source\queue.c FreeRTOS_Source
|
25 |
|
|
copy ..\..\Source\list.c FreeRTOS_Source
|
26 |
|
|
|
27 |
|
|
REM Copy the common header files
|
28 |
|
|
|
29 |
|
|
copy ..\..\Source\include\*.* FreeRTOS_Source\include
|
30 |
|
|
|
31 |
|
|
REM Copy the portable layer files
|
32 |
|
|
copy ..\..\Source\portable\CCS4\MSP430X\*.* FreeRTOS_Source\portable\CCS4\MSP430X
|
33 |
|
|
|
34 |
|
|
REM Copy the basic memory allocation files
|
35 |
|
|
copy ..\..\Source\portable\MemMang\heap_1.c FreeRTOS_Source\portable\MemMang
|
36 |
|
|
|
37 |
|
|
REM Copy the files that define the common demo tasks.
|
38 |
|
|
copy ..\Common\minimal\dynamic.c Demo_Source\Common_Demo_Files
|
39 |
|
|
copy ..\Common\minimal\comtest.c Demo_Source\Common_Demo_Files
|
40 |
|
|
copy ..\Common\minimal\GenQTest.c Demo_Source\Common_Demo_Files
|
41 |
|
|
|
42 |
|
|
REM Copy the common demo file headers.
|
43 |
|
|
copy ..\Common\include\dynamic.h Demo_Source\Common_Demo_Files\include
|
44 |
|
|
copy ..\Common\include\comtest.h Demo_Source\Common_Demo_Files\include
|
45 |
|
|
copy ..\Common\include\comtest2.h Demo_Source\Common_Demo_Files\include
|
46 |
|
|
copy ..\Common\include\GenQTest.h Demo_Source\Common_Demo_Files\include
|
47 |
|
|
copy ..\Common\include\serial.h Demo_Source\Common_Demo_Files\include
|
48 |
|
|
copy ..\Common\include\partest.h Demo_Source\Common_Demo_Files\include
|
49 |
|
|
|
50 |
|
|
: END
|