Moved and updated code for AT91SAM7S

This commit is contained in:
ksb 2009-07-11 14:22:45 +00:00
parent 1658d6b42c
commit 1f72d3ea32
32 changed files with 9799 additions and 0 deletions

View file

@ -0,0 +1,21 @@
void
Reset(void)
{
volatile int dummy =0;
}
static void
Vectors(void) __attribute__ ((naked, section(".vectrom")));
static void
Vectors(void)
{
asm("ldr pc, %0\n"::"r" (Reset));
}
void foo_dummy()
{
Vectors();
}