As suggested by Spencer Oliver...

Index: cortexm/stm32/stm3210e_eval/current/ChangeLog
===================================================================
RCS file: 
/cvs/ecos/ecos/packages/hal/cortexm/stm32/stm3210e_eval/current/ChangeLog,v
retrieving revision 1.3
diff -u -5 -r1.3 ChangeLog
--- cortexm/stm32/stm3210e_eval/current/ChangeLog       20 Nov 2008 17:15:12 
-0000      1.3
+++ cortexm/stm32/stm3210e_eval/current/ChangeLog       12 Dec 2008 10:54:49 
-0000
@@ -1,5 +1,11 @@
+2008-12-10  Nick Garnett  <[email protected]>
+
+       * cdl/hal_cortexm_stm32_stm3210e_eval.cdl: Switch value for
+       CYGHWR_MEMORY_LAYOUT to calculated, so that changes to startup
+       type are correctly propagated.
+
 2008-11-20  Jonathan Larmour  <[email protected]>
 
        * cdl/hal_cortexm_stm32_stm3210e_eval.cdl: Remove doc link
        to doc that doesn't exist.
 
Index: 
cortexm/stm32/stm3210e_eval/current/cdl/hal_cortexm_stm32_stm3210e_eval.cdl
===================================================================
RCS file: 
/cvs/ecos/ecos/packages/hal/cortexm/stm32/stm3210e_eval/current/cdl/hal_cortexm_stm32_stm3210e_eval.cdl,v
retrieving revision 1.2
diff -u -5 -r1.2 hal_cortexm_stm32_stm3210e_eval.cdl
--- cortexm/stm32/stm3210e_eval/current/cdl/hal_cortexm_stm32_stm3210e_eval.cdl 
20 Nov 2008 17:15:12 -0000      1.2
+++ cortexm/stm32/stm3210e_eval/current/cdl/hal_cortexm_stm32_stm3210e_eval.cdl 
12 Dec 2008 10:54:49 -0000
@@ -85,11 +85,11 @@
     
     cdl_component CYGHWR_MEMORY_LAYOUT {
         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"     :
                                                       "undefined" }
 


-- 
Nick Garnett                                      eCos Kernel Architect
eCosCentric Limited    http://www.eCosCentric.com      The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.     Tel: +44 1223 245571
Registered in England and Wales:                        Reg No: 4422071

Reply via email to