aboutsummaryrefslogtreecommitdiff
path: root/lib/vector.c
AgeCommit message (Collapse)Author
2010-10-19Add proper C runtime init, add reset handler.Uwe Hermann
The C runtime wasn't initialized correctly (there was garbage in the data and bss sections). Add a reset_handler which initializes these sections 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". Thanks to Gareth McMullin <gareth@blacksphere.co.nz>.
2010-03-23Small correction in isr table.Thomas Otto
2010-03-04Use direct #includes instead of libopenstm32.h.Uwe Hermann
2010-01-25Added all handlers to the vector table.Piotr Esden-Tempski
All handlers are weak symbols pointing to a null handler (doing nothing) or blocking handler (running an infinite loop). This means you can define a function with the name in the list and the linker will use your definition instead of the default one. This makes it easy to implement your own handlers without touching the library code.
2010-01-25Moved vector_table to the library.Piotr Esden-Tempski