]> git.sur5r.net Git - freertos/commitdiff
Add batch file that generates the local directory structure to allow the new AVR32...
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Jun 2010 17:34:45 +0000 (17:34 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 13 Jun 2010 17:34:45 +0000 (17:34 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1033 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat [new file with mode: 0644]

diff --git a/Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat b/Demo/AVR32_UC3A_GCC/CreateProjectDirectoryStructure.bat
new file mode 100644 (file)
index 0000000..2342685
--- /dev/null
@@ -0,0 +1,48 @@
+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