stm32-p103: add board preset with context_switch benchmark.
[bertos.git] / boards / stm32-p103 / benchmark / context_switch / main.c
diff --git a/boards/stm32-p103/benchmark/context_switch/main.c b/boards/stm32-p103/benchmark/context_switch/main.c
new file mode 100644 (file)
index 0000000..54652f1
--- /dev/null
@@ -0,0 +1,12 @@
+// Emtpy main.c file generated by the wizard
+#include <benchmark/context_switch.h>
+
+int main(void)
+{
+       context_switch();
+       while (1)
+       {
+       }
+
+       return 0;
+}