mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 09:38:32 -04:00
Update comments in Atmel Studio CreateProjectDirectoryStructure.bat files to remove references to replace references to Eclipse with references to Atmel Studio.
Update the tickless idle implementations that use up counters for tick interrupt generate to ensure they remain in low power mode for the desired time instead of one tick less than the desired time.
This commit is contained in:
parent
e08966c7e8
commit
fb9662009a
7 changed files with 33 additions and 56 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue