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
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
10 REM Have the files already been copied?
\r
11 IF EXIST Source\FreeRTOS_Source Goto END
\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
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
29 REM Copy the common header files
\r
31 copy ..\..\..\Source\include\*.* Source\FreeRTOS_Source\include
\r
33 REM Copy the portable layer files
\r
34 copy ..\..\..\Source\portable\GCC\ARM_CM0\*.* Source\FreeRTOS_Source\portable\GCC\ARM_CM0
\r
36 REM Copy the basic memory allocation files
\r
37 copy ..\..\..\Source\portable\MemMang\heap_1.c Source\FreeRTOS_Source\portable\MemMang
\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
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