Add benchmark for sam3n.
[bertos.git] / boards / sam3n-ek / benchmark / kernel_footprint / main.c
diff --git a/boards/sam3n-ek/benchmark/kernel_footprint/main.c b/boards/sam3n-ek/benchmark/kernel_footprint/main.c
new file mode 100644 (file)
index 0000000..7ecafb8
--- /dev/null
@@ -0,0 +1,20 @@
+// Emtpy main.c file generated by the wizard
+#include <cpu/irq.h>
+
+static void init(void)
+{
+       IRQ_ENABLE;
+       // insert initialization calls here
+}
+
+int main(void)
+{
+       init();
+       while (1)
+       {
+               // your code goes here
+       }
+
+       return 0;
+}
+