@ -1,11 +1,6 @@
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 build. Copies all the required files from their location within the standard
REM FreeRTOS directory structure to under the Atmel Studio project directory.
REM Standard paths
SET FREERTOS_SOURCE = ..\..\Source
@ -21,9 +16,9 @@ IF EXIST src\asf\thirdparty\FreeRTOS Goto END
MD src\asf\thirdparty\FreeRTOS\portable
MD src\asf\thirdparty\FreeRTOS\portable\GCC
MD src\asf\thirdparty\FreeRTOS\portable\GCC\ARM_CM3
MD src\asf\thirdparty\FreeRTOS\portable\MemMang
MD src\asf\thirdparty\FreeRTOS\portable\MemMang
MD src\Common-Demo-Source\include
REM Copy the core kernel files into the project directory
copy %FREERTOS_SOURCE% \tasks.c src\asf\thirdparty\FreeRTOS
copy %FREERTOS_SOURCE% \queue.c src\asf\thirdparty\FreeRTOS
@ -32,10 +27,10 @@ IF EXIST src\asf\thirdparty\FreeRTOS Goto END
REM Copy the common header files into the project directory
copy %FREERTOS_SOURCE% \include\*.* src\asf\thirdparty\FreeRTOS\include
REM Copy the portable layer files into the project directory
copy %FREERTOS_SOURCE% \portable\GCC\ARM_CM3\*.* src\asf\thirdparty\FreeRTOS\portable\GCC\ARM_CM3
REM Copy the memory allocation files into the project directory
copy %FREERTOS_SOURCE% \portable\MemMang\heap_4.c src\asf\thirdparty\FreeRTOS\portable\MemMang
@ -51,8 +46,8 @@ IF EXIST src\asf\thirdparty\FreeRTOS Goto END
copy %COMMON_SOURCE% \recmutex.c src\Common-Demo-Source
copy %COMMON_SOURCE% \countsem.c src\Common-Demo-Source
copy %COMMON_SOURCE% \integer.c src\Common-Demo-Source
REM Copy the common demo file headers.
copy %COMMON_INCLUDE% \*.h src\Common-Demo-Source\include
: END