aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-06 09:59:37 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-06 09:59:37 +0000
commitd6e350274dd85fb2abd72d97840a69895b949a65 (patch)
tree4b51f6aa8bb16cd1d8b131112a106c8373be1702 /demos
parent5108791c2374f6e730bb0b798f2a719789f70a22 (diff)
downloadChibiOS-d6e350274dd85fb2abd72d97840a69895b949a65.tar.gz
ChibiOS-d6e350274dd85fb2abd72d97840a69895b949a65.tar.bz2
ChibiOS-d6e350274dd85fb2abd72d97840a69895b949a65.zip
Changed the stack sections names in the IAR port.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2591 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/ARMCM3-STM32F103/iar/ch.icf8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/ARMCM3-STM32F103/iar/ch.icf b/demos/ARMCM3-STM32F103/iar/ch.icf
index c14393d39..0aedf5910 100644
--- a/demos/ARMCM3-STM32F103/iar/ch.icf
+++ b/demos/ARMCM3-STM32F103/iar/ch.icf
@@ -13,15 +13,15 @@ define symbol __ICFEDIT_size_cstack__ = 0x400;
define symbol __ICFEDIT_size_heap__ = 0x400;
/**** End of ICF editor section. ###ICF###*/
-/* Size of the Process Stack.*/
-define symbol __ICFEDIT_size_pstack__ = 0x400;
+/* Size of the IRQ Stack (Main Stack).*/
+define symbol __ICFEDIT_size_irqstack__ = 0x400;
define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
-define block PSTACK with alignment = 8, size = __ICFEDIT_size_pstack__ { };
+define block IRQSTACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
define block SYSHEAP with alignment = 8, size = 0 { };
@@ -32,6 +32,6 @@ keep { section .intvec };
place at address mem:__ICFEDIT_intvec_start__ { section .intvec };
place in ROM_region { readonly };
-place in RAM_region { block PSTACK, block CSTACK, readwrite, block HEAP, block SYSHEAP};
+place in RAM_region { block IRQSTACK, block CSTACK, readwrite, block HEAP, block SYSHEAP};
define exported symbol __heap_end__ = end(RAM_region) + 1;