1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/native/startup.c
2013-03-06 01:08:15 +01:00

16 lines
290 B
C

#include <stdio.h>
#include <kernel_intern.h>
extern void board_init(void);
__attribute__ ((constructor)) static void startup(void)
{
native_cpu_init();
native_interrupt_init();
board_init();
puts("RIOT native hardware initialization complete.\n");
kernel_init();
}