--- /dev/null
+REM This file should be executed from the command line prior to the first\r
+REM build. It will be necessary to refresh the Eclipse project once the\r
+REM .bat file has been executed (normally just press F5 to refresh).\r
+\r
+REM Copies all the required files from their location within the standard\r
+REM FreeRTOS directory structure to under the Eclipse project directory.\r
+REM This permits the Eclipse project to be used in 'managed' mode and without\r
+REM having to setup any linked resources.\r
+\r
+REM Have the files already been copied?\r
+IF EXIST FreeRTOS Goto END\r
+\r
+ REM Create the required directory structure.\r
+ MD FreeRTOS\r
+ MD FreeRTOS\include \r
+ MD FreeRTOS\portable\GCC\AVR32_UC3\r
+ MD FreeRTOS\portable\MemMang \r
+ MD Common_Demo_Tasks\r
+ MD Common_Demo_Tasks\Minimal\r
+ MD Common_Demo_Tasks\include\r
+ \r
+ REM Copy the core kernel files.\r
+ copy ..\..\Source\*.* FreeRTOS\r
+ \r
+ REM Copy the common header files\r
+ copy ..\..\Source\include\*.* FreeRTOS\include\r
+ \r
+ REM Copy the portable layer files\r
+ copy ..\..\Source\portable\GCC\AVR32_UC3\*.* FreeRTOS\portable\GCC\AVR32_UC3\r
+ \r
+ REM Copy the basic memory allocation files\r
+ copy ..\..\Source\portable\MemMang\heap_3.c FreeRTOS\portable\MemMang\r
+\r
+ REM Copy the files that define the common demo tasks.\r
+ copy ..\common\Minimal\BlockQ.c Common_Demo_Tasks\Minimal\r
+ copy ..\common\Minimal\comtest.c Common_Demo_Tasks\Minimal\r
+ copy ..\common\Minimal\death.c Common_Demo_Tasks\Minimal\r
+ copy ..\common\Minimal\dynamic.c Common_Demo_Tasks\Minimal\r
+ copy ..\common\Minimal\flash.c Common_Demo_Tasks\Minimal\r
+ copy ..\common\Minimal\flop.c Common_Demo_Tasks\Minimal\r
+ copy ..\common\Minimal\integer.c Common_Demo_Tasks\Minimal\r
+ copy ..\common\Minimal\PollQ.c Common_Demo_Tasks\Minimal\r
+ copy ..\common\Minimal\semtest.c Common_Demo_Tasks\Minimal\r
+ \r
+ REM Copy the common demo file headers.\r
+ copy ..\common\include\*.* Common_Demo_Tasks\include\r
+ \r
+: END\r