projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
boards/stm32-p103/benchmark/context_switch/main.c
@@ -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;
+}