stm32 memory layout patch
Spen
spen@spen-soft.co.uk
Mon Nov 24 15:44:00 GMT 2008
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" :
More information about the Ecos-patches
mailing list