This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
stm32 memory layout patch
- From: "Spen" <spen at spen-soft dot co dot uk>
- To: <ecos-patches at ecos dot sourceware dot org>
- Date: Mon, 24 Nov 2008 15:44:05 -0000
- Subject: stm32 memory layout patch
- Authenticated-sender:
Hi,
Find attached a patch that fixes the update problem in configtool when
changing the stm32 memory layout.
For example change from ROM to RAM the linker scripts do not get updated
correctly.
Cheers
Spen
Index: hal_cortexm_stm32_stm3210e_eval.cdl
===================================================================
RCS file:
/cvs/ecos/ecos/packages/hal/cortexm/stm32/stm3210e_eval/current/cdl/hal_cort
exm_stm32_stm3210e_eval.cdl,v
retrieving revision 1.2
diff -u -r1.2 hal_cortexm_stm32_stm3210e_eval.cdl
--- hal_cortexm_stm32_stm3210e_eval.cdl 20 Nov 2008 17:15:12 -0000 1.2
+++ hal_cortexm_stm32_stm3210e_eval.cdl 24 Nov 2008 15:19:48 -0000
@@ -87,7 +87,7 @@
display "Memory layout"
flavor data
no_define
- default_value { (CYG_HAL_STARTUP == "RAM" ) ?
"cortexm_stm3210e_eval_ram" :
+ calculated { (CYG_HAL_STARTUP == "RAM" ) ?
"cortexm_stm3210e_eval_ram" :
(CYG_HAL_STARTUP == "SRAM") ?
"cortexm_stm3210e_eval_sram" :
(CYG_HAL_STARTUP == "ROM" ) ?
"cortexm_stm3210e_eval_rom" :
(CYG_HAL_STARTUP == "JTAG") ?
"cortexm_stm3210e_eval_jtag" :