osd-contiki/cpu/arm/at91sam7s/startup-SAM7S.c

22 lines
223 B
C
Raw Permalink Normal View History

2009-07-11 16:22:45 +02:00
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();
}