public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* stm32 memory layout patch
@ 2008-11-24 15:44 Spen
  0 siblings, 0 replies; only message in thread
From: Spen @ 2008-11-24 15:44 UTC (permalink / raw)
  To: ecos-patches

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"     :

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-24 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-24 15:44 stm32 memory layout patch Spen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).