drop two-line vector.c dispatchers in favor of central dispatch

This commit is contained in:
chrysn
2012-10-18 16:29:58 +02:00
parent 172ce56e3c
commit 5afa53f01a
9 changed files with 19 additions and 24 deletions

View File

@@ -20,6 +20,9 @@
#include <libopencm3/cm3/vector.h>
/* load optional platform dependent initialization routines */
#include "../dispatch/vector.c"
#define WEAK __attribute__ ((weak))
/* Symbols exported by the linker script(s): */
@@ -70,6 +73,9 @@ void WEAK reset_handler(void)
while (dest < &_ebss)
*dest++ = 0;
/* might be provided by platform specific vector.c */
pre_main();
/* Call the application's entry point. */
main();
}