]> git.sur5r.net Git - freertos/commitdiff
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@816 1d2547de-c912-0410...
authorRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 12 Jul 2009 16:49:14 +0000 (16:49 +0000)
committerRichardBarry <RichardBarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Sun, 12 Jul 2009 16:49:14 +0000 (16:49 +0000)
Demo/CORTEX_LPC1768_GCC_RedSuite/.cproject
Demo/CORTEX_LPC1768_GCC_RedSuite/CreateProjectDirectoryStructure.bat [new file with mode: 0644]

index e7d25d06ba5fa2180e7dcee8d488a2666a1a0b36..848eebde41dc9f39da47b4b46631b57c0162d3cb 100644 (file)
@@ -16,7 +16,7 @@
 </extensions>\r
 </storageModule>\r
 <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
-<configuration artifactExtension="axf" artifactName="RTOSDemo_RDB1768" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="Debug build" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="com.crt.advproject.config.exe.debug.358435974" name="Debug" parent="com.crt.advproject.config.exe.debug" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size ${BuildArtifactFileName}; # arm-none-eabi-objdump -h -S ${BuildArtifactFileName} &gt;${BuildArtifactFileBaseName}.lss">\r
+<configuration artifactExtension="axf" artifactName="RTOSDemo_RDB1768" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe" cleanCommand="rm -rf" description="Debug build" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="com.crt.advproject.config.exe.debug.358435974" name="Debug" parent="com.crt.advproject.config.exe.debug" postannouncebuildStep="Performing post-build steps" postbuildStep="arm-none-eabi-size ${BuildArtifactFileName}; # arm-none-eabi-objdump -h -S ${BuildArtifactFileName} &gt;${BuildArtifactFileBaseName}.lss" preannouncebuildStep="" prebuildStep="">\r
 <folderInfo id="com.crt.advproject.config.exe.debug.358435974." name="/" resourcePath="">\r
 <toolChain id="com.crt.advproject.toolchain.exe.debug.1213183249" name="Code Red MCU Tools" superClass="com.crt.advproject.toolchain.exe.debug">\r
 <targetPlatform binaryParser="org.eclipse.cdt.core.ELF;org.eclipse.cdt.core.GNU_ELF" id="com.crt.advproject.platform.exe.debug.1952563323" name="ARM-based MCU (Debug)" superClass="com.crt.advproject.platform.exe.debug"/>\r
diff --git a/Demo/CORTEX_LPC1768_GCC_RedSuite/CreateProjectDirectoryStructure.bat b/Demo/CORTEX_LPC1768_GCC_RedSuite/CreateProjectDirectoryStructure.bat
new file mode 100644 (file)
index 0000000..dd86972
--- /dev/null
@@ -0,0 +1,50 @@
+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 src\FreeRTOS\r
+       MD src\FreeRTOS\include \r
+       MD src\FreeRTOS\portable\GCC\ARM_CM3\r
+       MD src\FreeRTOS\portable\MemMang        \r
+       MD "src\Common Demo Tasks"\r
+       MD "src\Common Demo Tasks\include"\r
+       \r
+       REM Copy the core kernel files.\r
+       copy ..\..\Source\tasks.c src\FreeRTOS\r
+       copy ..\..\Source\queue.c src\FreeRTOS\r
+       copy ..\..\Source\list.c src\FreeRTOS\r
+       \r
+       REM Copy the common header files\r
+\r
+       copy ..\..\Source\include\*.* src\FreeRTOS\include\r
+       \r
+       REM Copy the portable layer files\r
+       copy ..\..\Source\portable\GCC\ARM_CM3\*.* src\FreeRTOS\portable\GCC\ARM_CM3\r
+       \r
+       REM Copy the basic memory allocation files\r
+       copy ..\..\Source\portable\MemMang\*.* src\FreeRTOS\portable\MemMang\r
+\r
+       REM Copy the files that define the common demo tasks.\r
+       copy ..\Common\minimal\BlockQ.c "src\Common Demo Tasks"\r
+       copy ..\Common\minimal\blocktim.c "src\Common Demo Tasks"\r
+       copy ..\Common\minimal\flash.c "src\Common Demo Tasks"\r
+       copy ..\Common\minimal\GenQTest.c "src\Common Demo Tasks"\r
+       copy ..\Common\minimal\integer.c "src\Common Demo Tasks"\r
+       copy ..\Common\minimal\PollQ.c "src\Common Demo Tasks"\r
+       copy ..\Common\minimal\QPeek.c "src\Common Demo Tasks"\r
+       copy ..\Common\minimal\recmutex.c "src\Common Demo Tasks"\r
+       copy ..\Common\minimal\semtest.c "src\Common Demo Tasks"\r
+       \r
+       REM Copy the common demo file headers.\r
+       copy ..\Common\include\*.* "src\Common Demo Tasks\include"\r
+       \r
+: END
\ No newline at end of file