[libopenstm32-devel] Reset Handler
Status: Inactive
Brought to you by:
uh1763
From: Gareth M. <ga...@bl...> - 2010-10-15 06:28:30
|
Hi I've just started working on libopenstm32, and noticed that the C runtime isn't initialized correctly (there is garbage in the data and bss sections). The attached patch includes a reset_handler which initializes these section before calling the application's main() function. The initial stack pointer is also defined in the linker script, allowing the application to override with a linker command line option "-Wl,--defsym,_stack=0x20005000". Is posting patches to this list the preferred way of contributing? Regards, Gareth -- *Black Sphere Technologies Ltd.* Web: www.blacksphere.co.nz Mobile: +64 27 777 2182 Tel: +64 9 478 8885 Skype: gareth.mcmullin LinkedIn: http://nz.linkedin.com/in/gsmcmullin |