Chris Holgate <[email protected]> writes:

> This patch adds support for SRAM initialisation from ROM in STM32 ROM
> based builds.  It allows declarations such as the following to correctly
> allocate and initialise variables in the SRAM area.
> 
> static cyg_uint16 dma_tx_null __attribute__((section (".sram"))) = 0xFFFF;
> 
> Please could someone who is a linker script expert check my changes to
> src/cortexm.ld, since linker scripts are not my forte!

Thanks, now checked in.


-- 
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
Besuchen Sie uns vom 3.-5.03.09 auf der Embedded World 2009, Stand 11-300
Visit us at Embedded World 2009, Nürnberg, Germany, 3-5 Mar, Stand 11-300

Reply via email to