Skip to content
Browse files

Using property value for custom heap section name.

  • Loading branch information...
1 parent 5fb826f commit 011d4f61f30fca6bba3fdeeca111554882314e0c @ErichStyger committed Jan 20, 2014
View
6 Beans/FreeRTOS/FreeRTOS.bean
@@ -4,7 +4,7 @@
<Name>FreeRTOS</Name>
<Description>FreeRTOS</Description>
<Author>Erich Styger</Author>
- <Version>01.326</Version>
+ <Version>01.327</Version>
<Icon>FreeRTOS</Icon>
<TypesFiles>PE,FreeRTOS\FreeRTOS</TypesFiles>
<FileVersion>6</FileVersion>
@@ -1308,7 +1308,7 @@ heap_4.c is particularly useful for applications that want to use the portable l
<BoldName>true</BoldName>
<EditLine>false</EditLine>
<Description>Disabled</Description>
- <Expanded>No</Expanded>
+ <Expanded>Yes</Expanded>
<DefaultValue>false</DefaultValue>
<DefineSymbol>YES_NO</DefineSymbol>
<IfDisabled>setNOTHING</IfDisabled>
@@ -1317,7 +1317,7 @@ heap_4.c is particularly useful for applications that want to use the portable l
<TStrgItem>
<Name>Heap Section Name</Name>
<Symbol>HeapSectionName</Symbol>
- <Hint>The following will be added to the heap variable: __attribute__((section ("sectionName"))). For IAR a similar construct is used.</Hint>
+ <Hint>Use ".m_data_20000000" for gcc, and "m_data_20000000" for IAR. The following will be added to the heap variable: __attribute__((section ("sectionName"))). For IAR a similar construct is used.</Hint>
<ItemLevel>BASIC</ItemLevel>
<EditLine>true</EditLine>
<DefaultValue>.m_data_20000000</DefaultValue>
View
2 Beans/FreeRTOS/FreeRTOS.uis
@@ -1,6 +1,6 @@
[USED_FACES]
-BeanVersion=01.326
+BeanVersion=01.327
InterfacesCount=8
View
2 Beans/FreeRTOS/FreeRTOSProperties.html
@@ -684,7 +684,7 @@
<ul>
<li>
<a name="HeapSectionName">
- <b>Heap Section Name</b></a> - The following will be added to the heap variable: __attribute__((section (&quot;sectionName&quot;))). For IAR a similar construct is used.
+ <b>Heap Section Name</b></a> - Use &quot;.m_data_20000000&quot; for gcc, and &quot;m_data_20000000&quot; for IAR. The following will be added to the heap variable: __attribute__((section (&quot;sectionName&quot;))). For IAR a similar construct is used.
</li>
</ul>
</li>
View
2 Drivers/freeRTOS/FreeRTOSConfig.h
@@ -170,7 +170,7 @@
#define configUSE_HEAP_SECTION_NAME %>50 0 /* set to 1 if a custom section name (configHEAP_SECTION_NAME_STRING) shall be used, 0 otherwise */
%endif
#if configUSE_HEAP_SECTION_NAME
- #define configHEAP_SECTION_NAME_STRING %>50 ".m_data_20000000" /* heap section name (supported by GCC). Check your linker file for the name used. */
+ #define configHEAP_SECTION_NAME_STRING %>50 "%HeapSectionName" /* heap section name (Use ".m_data_20000000" for gcc and "m_data_20000000" for IAR). Check your linker file for the name used. */
#endif
/*----------------------------------------------------------*/
#define configMAX_TASK_NAME_LEN %>50 %TaskNameLength /* task name length */
View
8 Examples/FRDM-K20D50M/IAR_FRDM-K20D50M/ProcessorExpert.pe
@@ -3,8 +3,8 @@
<Header>
<Name>ProcessorExpert</Name>
<SavedBy>tastyger</SavedBy>
- <ModificationStamp>6</ModificationStamp>
- <Date>2014-01-19</Date>
+ <ModificationStamp>7</ModificationStamp>
+ <Date>2014-01-20</Date>
<IDE>Eclipse IDE</IDE>
<PEversion>1.7.100.RT4_b1339-1658</PEversion>
</Header>
@@ -28,7 +28,7 @@
<UseExistingModules>true</UseExistingModules>
<RenamePeripheries>false</RenamePeripheries>
<Autodependency>true</Autodependency>
- <ProjectCompNumb>26</ProjectCompNumb>
+ <ProjectCompNumb>29</ProjectCompNumb>
<DelUnusedPreviouslyGenFiles>true</DelUnusedPreviouslyGenFiles>
<GeneratedCodeFrozen>false</GeneratedCodeFrozen>
<AssignInitComponentNameToPrph>true</AssignInitComponentNameToPrph>
@@ -5263,7 +5263,7 @@
<ItemSymbol>HeapSectionName</ItemSymbol>
<ReadOnly>false</ReadOnly>
<UserReadOnly>false</UserReadOnly>
- <Value>.m_data_20000000</Value>
+ <Value>m_data_20000000</Value>
</ItemState>
<ItemState>
<ItemSymbol>TotalHeapSize</ItemSymbol>

0 comments on commit 011d4f6

Please sign in to comment.
Something went wrong with that request. Please try again.