mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 03:05:14 +00:00
22 lines
223 B
C
22 lines
223 B
C
|
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();
|
||
|
}
|