summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/RX100-RSK_GCC_e2studio/CreateProjectDirectoryStructure.bat
diff options
context:
space:
mode:
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2013-04-17 10:04:38 +0000
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2013-04-17 10:04:38 +0000
commit145a45ea5db65bcdae33595e2f3b65b49b699c78 (patch)
tree433735a29b1285f7a4fec75eb6691ed42ca87939 /FreeRTOS/Demo/RX100-RSK_GCC_e2studio/CreateProjectDirectoryStructure.bat
parent7580ab3152fcfdd1d2de841b3789dc8c1cd35217 (diff)
downloadfreertos-145a45ea5db65bcdae33595e2f3b65b49b699c78.tar.gz
Commit 3 RX100 low power demos.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1871 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Demo/RX100-RSK_GCC_e2studio/CreateProjectDirectoryStructure.bat')
-rw-r--r--FreeRTOS/Demo/RX100-RSK_GCC_e2studio/CreateProjectDirectoryStructure.bat52
1 files changed, 52 insertions, 0 deletions
diff --git a/FreeRTOS/Demo/RX100-RSK_GCC_e2studio/CreateProjectDirectoryStructure.bat b/FreeRTOS/Demo/RX100-RSK_GCC_e2studio/CreateProjectDirectoryStructure.bat
new file mode 100644
index 000000000..2fc474125
--- /dev/null
+++ b/FreeRTOS/Demo/RX100-RSK_GCC_e2studio/CreateProjectDirectoryStructure.bat
@@ -0,0 +1,52 @@
+REM This file should be executed from the command line prior to the first
+REM build. It will be necessary to refresh the Eclipse project once the
+REM .bat file has been executed (normally just press F5 to refresh).
+
+REM Copies all the required files from their location within the standard
+REM FreeRTOS directory structure to under the Eclipse project directory.
+REM This permits the Eclipse project to be used in 'managed' mode and without
+REM having to setup any linked resources.
+
+REM Standard paths
+SET FREERTOS_SOURCE=..\..\Source
+SET COMMON_SOURCE=..\Common\minimal
+SET COMMON_INCLUDE=..\Common\include
+
+REM Have the files already been copied?
+IF EXIST RTOSDemo\FreeRTOS_Source Goto END
+
+ REM Create the required directory structure.
+ MD RTOSDemo\FreeRTOS_Source
+ MD RTOSDemo\FreeRTOS_Source\include
+ MD RTOSDemo\FreeRTOS_Source\portable
+ MD RTOSDemo\FreeRTOS_Source\portable\MemMang
+ MD RTOSDemo\FreeRTOS_Source\portable\GCC
+ MD RTOSDemo\FreeRTOS_Source\portable\GCC\RX100
+ MD RTOSDemo\Common_Demo_Tasks
+ MD RTOSDemo\Common_Demo_Tasks\include
+
+ REM Copy the core kernel files into the project directory
+ copy %FREERTOS_SOURCE%\tasks.c RTOSDemo\FreeRTOS_Source
+ copy %FREERTOS_SOURCE%\queue.c RTOSDemo\FreeRTOS_Source
+ copy %FREERTOS_SOURCE%\list.c RTOSDemo\FreeRTOS_Source
+ copy %FREERTOS_SOURCE%\timers.c RTOSDemo\FreeRTOS_Source
+
+ REM Copy the common header files into the project directory
+ copy %FREERTOS_SOURCE%\include\*.* RTOSDemo\FreeRTOS_Source\include
+
+ REM Copy the portable layer files into the project directory
+ copy %FREERTOS_SOURCE%\portable\GCC\RX100\*.* RTOSDemo\FreeRTOS_Source\portable\GCC\RX100
+
+ REM Copy the memory allocation files into the project directory
+ copy %FREERTOS_SOURCE%\portable\MemMang\heap_4.c RTOSDemo\FreeRTOS_Source\portable\MemMang
+
+ REM Copy the files that define the common demo tasks.
+ copy %COMMON_SOURCE%\death.c RTOSDemo\Common_Demo_Tasks
+ copy %COMMON_SOURCE%\blocktim.c RTOSDemo\Common_Demo_Tasks
+ copy %COMMON_SOURCE%\GenQTest.c RTOSDemo\Common_Demo_Tasks
+ copy %COMMON_SOURCE%\recmutex.c RTOSDemo\Common_Demo_Tasks
+
+ REM Copy the common demo file headers.
+ copy %COMMON_INCLUDE%\*.h RTOSDemo\Common_Demo_Tasks\include
+
+: END