aboutsummaryrefslogtreecommitdiff
path: root/test1.cpp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-12-29 19:01:39 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-12-29 19:01:39 +0100
commitaae314fead54dab7b258f3a6c7ac1615833f9987 (patch)
treeae8eef88eae5d2031da89af3c16803b55987555e /test1.cpp
parent47e728d34e64d2dc04736828111490dc8b0a8258 (diff)
downloadstm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.gz
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.bz2
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.tar.xz
stm32f103-playground-aae314fead54dab7b258f3a6c7ac1615833f9987.zip
o Basic pre-emptive task switching OS.
Diffstat (limited to 'test1.cpp')
-rw-r--r--test1.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/test1.cpp b/test1.cpp
index a4078a7..a883876 100644
--- a/test1.cpp
+++ b/test1.cpp
@@ -4,12 +4,7 @@
#include <stm32f10x_rcc.h>
#include <stm32f10x_gpio.h>
#include <stddef.h>
-
-int init_high();
-
-extern "C" void halt();
-
-#include "stm32f10x_conf.h"
+#include "playground.h"
extern "C"
__attribute__((naked))