<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">\r
<PropertyGroup>\r
<SchemaVersion>2.0</SchemaVersion>\r
- <ProjectVersion>6.1</ProjectVersion>\r
+ <ProjectVersion>7.0</ProjectVersion>\r
<ProjectGuid>{2a475b6a-78b0-4237-8947-341bd379ab5c}</ProjectGuid>\r
<Name>$(MSBuildProjectName)</Name>\r
<AssemblyName>$(MSBuildProjectName)</AssemblyName>\r
<documentation help="http://asf.atmel.com/docs/3.11.0/common.applications.user_application.xplained_pro2.samd20_xplained_pro/html/index.html" />\r
<offline-documentation help="" />\r
<dependencies>\r
- <content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.11.0" />\r
+ <content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.18.1" />\r
</dependencies>\r
<project id="common.applications.user_application.xplained_pro2.samd20_xplained_pro" value="Add" config="" content-id="Atmel.ASF" />\r
<board id="board.samd20_xplained_pro" value="Add" config="" content-id="Atmel.ASF" />\r
<ToolNumber>000591000435</ToolNumber>\r
<ToolName>J-Link</ToolName>\r
</com_atmel_avrdbg_tool_samice>\r
+ <preserveEEPROM>true</preserveEEPROM>\r
+ <ExternalProgrammingToolCommand />\r
</PropertyGroup>\r
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">\r
<ToolchainSettings>\r
</armgcc.linker.libraries.LibrarySearchPaths>\r
<armgcc.linker.optimization.GarbageCollectUnusedSections>True</armgcc.linker.optimization.GarbageCollectUnusedSections>\r
<armgcc.linker.miscellaneous.LinkerFlags>-Wl,--entry=Reset_Handler -Wl,--cref -mthumb -T../src/ASF/sam0/utils/linker_scripts/samd20/gcc/samd20j18_flash.ld</armgcc.linker.miscellaneous.LinkerFlags>\r
- <armgcc.assembler.general.IncludePaths>\r
- <ListValues>\r
- <Value>../src</Value>\r
- <Value>../src/ASF/common/boards</Value>\r
- <Value>../src/ASF/common/utils</Value>\r
- <Value>../src/ASF/sam0/boards</Value>\r
- <Value>../src/ASF/sam0/boards/samd20_xplained_pro</Value>\r
- <Value>../src/ASF/sam0/drivers/port</Value>\r
- <Value>../src/ASF/sam0/drivers/system</Value>\r
- <Value>../src/ASF/sam0/drivers/system/clock</Value>\r
- <Value>../src/ASF/sam0/drivers/system/interrupt</Value>\r
- <Value>../src/ASF/sam0/drivers/system/pinmux</Value>\r
- <Value>../src/ASF/sam0/utils</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/include</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/include/component</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/include/instance</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/include/pio</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/source</Value>\r
- <Value>../src/ASF/sam0/utils/header_files</Value>\r
- <Value>../src/ASF/sam0/utils/preprocessor</Value>\r
- <Value>../src/ASF/thirdparty/CMSIS/Include</Value>\r
- <Value>../src/ASF/thirdparty/CMSIS/Lib/GCC</Value>\r
- <Value>../src/config</Value>\r
- <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel</Value>\r
- <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include</Value>\r
- <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL</Value>\r
- <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\samd20\include</Value>\r
- <Value>../src/ASF/common/services/serial</Value>\r
- <Value>../src/ASF/sam0/drivers/sercom</Value>\r
- <Value>../src/ASF/sam0/drivers/sercom/usart</Value>\r
- </ListValues>\r
- </armgcc.assembler.general.IncludePaths>\r
<armgcc.preprocessingassembler.general.AssemblerFlags>-DARM_MATH_CM0=true -DBOARD=SAMD20_XPLAINED_PRO -D__SAMD20J18__ -DUSART_CALLBACK_MODE=true</armgcc.preprocessingassembler.general.AssemblerFlags>\r
<armgcc.preprocessingassembler.general.IncludePaths>\r
<ListValues>\r
</armgcc.linker.libraries.LibrarySearchPaths>\r
<armgcc.linker.optimization.GarbageCollectUnusedSections>True</armgcc.linker.optimization.GarbageCollectUnusedSections>\r
<armgcc.linker.miscellaneous.LinkerFlags>-Wl,--entry=Reset_Handler -Wl,--cref -mthumb -T../src/ASF/sam0/utils/linker_scripts/samd20/gcc/samd20j18_flash.ld</armgcc.linker.miscellaneous.LinkerFlags>\r
- <armgcc.assembler.general.IncludePaths>\r
- <ListValues>\r
- <Value>../src</Value>\r
- <Value>../src/ASF/common/boards</Value>\r
- <Value>../src/ASF/common/utils</Value>\r
- <Value>../src/ASF/sam0/boards</Value>\r
- <Value>../src/ASF/sam0/boards/samd20_xplained_pro</Value>\r
- <Value>../src/ASF/sam0/drivers/port</Value>\r
- <Value>../src/ASF/sam0/drivers/system</Value>\r
- <Value>../src/ASF/sam0/drivers/system/clock</Value>\r
- <Value>../src/ASF/sam0/drivers/system/interrupt</Value>\r
- <Value>../src/ASF/sam0/drivers/system/pinmux</Value>\r
- <Value>../src/ASF/sam0/utils</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/include</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/include/component</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/include/instance</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/include/pio</Value>\r
- <Value>../src/ASF/sam0/utils/cmsis/samd20/source</Value>\r
- <Value>../src/ASF/sam0/utils/header_files</Value>\r
- <Value>../src/ASF/sam0/utils/preprocessor</Value>\r
- <Value>../src/ASF/thirdparty/CMSIS/Include</Value>\r
- <Value>../src/ASF/thirdparty/CMSIS/Lib/GCC</Value>\r
- <Value>../src/config</Value>\r
- <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel</Value>\r
- <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\CMSIS\Include</Value>\r
- <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL</Value>\r
- <Value>%24(ToolchainDir)\..\..\CMSIS_Atmel\Device\ATMEL\samd20\include</Value>\r
- <Value>../src/ASF/common/services/serial</Value>\r
- <Value>../src/ASF/sam0/drivers/sercom</Value>\r
- <Value>../src/ASF/sam0/drivers/sercom/usart</Value>\r
- </ListValues>\r
- </armgcc.assembler.general.IncludePaths>\r
<armgcc.assembler.debugging.DebugLevel>Default (-g)</armgcc.assembler.debugging.DebugLevel>\r
<armgcc.preprocessingassembler.general.AssemblerFlags>-DARM_MATH_CM0=true -DBOARD=SAMD20_XPLAINED_PRO -D__SAMD20J18__ -DUSART_CALLBACK_MODE=true</armgcc.preprocessingassembler.general.AssemblerFlags>\r
<armgcc.preprocessingassembler.general.IncludePaths>\r
+The FreeRTOS open source license covers the FreeRTOS source files,\r
+which are located in the /FreeRTOS/Source directory of the official FreeRTOS\r
+download. It also covers most of the source files in the demo application\r
+projects, which are located in the /FreeRTOS/Demo directory of the official\r
+FreeRTOS download. The demo projects may also include third party software that\r
+is not part of FreeRTOS and is licensed separately to FreeRTOS. Examples of\r
+third party software includes header files provided by chip or tools vendors,\r
+linker scripts, peripheral drivers, etc. All the software in subdirectories of\r
+the /FreeRTOS directory is either open source or distributed with permission,\r
+and is free for use. For the avoidance of doubt, refer to the comments at the\r
+top of each source file.\r
+\r
----------------------------------------------------------------------------\r
\r
-NOTE: The modification to the GPL documented below is included to allow you to\r
-distribute a combined work that includes FreeRTOS without being obliged to\r
-provide the source code for proprietary components.\r
+NOTE: The modification to the GPL is included to allow you to distribute a\r
+combined work that includes FreeRTOS without being obliged to provide the source\r
+code for proprietary components.\r
\r
----------------------------------------------------------------------------\r
\r
-The FreeRTOS GPL Exception Text:\r
+Applying to FreeRTOS V8.2.3 up to the latest version, the FreeRTOS GPL Exception\r
+Text follows:\r
\r
-Any FreeRTOS source code, whether modified or in it's original release form,\r
+Any FreeRTOS *source code*, whether modified or in it's original release form,\r
or whether in whole or in part, can only be distributed by you under the terms\r
-of version 2 of the GNU General Public License plus this exception. An\r
-independent module is a module which is not derived from or based on FreeRTOS.\r
+of the GNU General Public License plus this exception. An independent module is\r
+a module which is not derived from or based on FreeRTOS.\r
\r
Clause 1:\r
\r
industry and is intended to ensure information accuracy).\r
\r
\r
+\r
--------------------------------------------------------------------\r
\r
-The standard GPL v2 text follows:\r
+\r
+\r
+The standard GPL V2 text:\r
\r
\r
GNU GENERAL PUBLIC LICENSE\r
#define configADJUSTED_HEAP_SIZE ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT )\r
\r
/* Allocate the memory for the heap. */\r
-static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];\r
+/* Allocate the memory for the heap. */\r
+#if( configAPPLICATION_ALLOCATED_HEAP == 1 )\r
+ /* The application writer has already defined the array used for the RTOS\r
+ heap - probably so it can be placed in a special segment or address. */\r
+ extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];\r
+#else\r
+ static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];\r
+#endif /* configAPPLICATION_ALLOCATED_HEAP */\r
+\r
static size_t xNextFreeByte = ( size_t ) 0;\r
\r
/*-----------------------------------------------------------*/\r
static uint8_t *pucAlignedHeap = NULL;\r
\r
/* Ensure that blocks are always aligned to the required number of bytes. */\r
- #if portBYTE_ALIGNMENT != 1\r
+ #if( portBYTE_ALIGNMENT != 1 )\r
+ {\r
if( xWantedSize & portBYTE_ALIGNMENT_MASK )\r
{\r
/* Byte alignment required. */\r
xWantedSize += ( portBYTE_ALIGNMENT - ( xWantedSize & portBYTE_ALIGNMENT_MASK ) );\r
}\r
+ }\r
#endif\r
\r
vTaskSuspendAll();\r