summaryrefslogtreecommitdiff
path: root/my-project
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-10-24 18:34:11 +0200
committerxengineering <mail2xengineering@protonmail.com>2020-10-24 18:34:11 +0200
commitdb0a19edd8c4cd62c6784d8bb1d91c61a6447a2a (patch)
tree91a713eb93885d598533c2bae536d0d441468339 /my-project
parent28a93739db99920431b5d72d948bfc1cddd0a8a7 (diff)
downloadstm32f103c8-examples-db0a19edd8c4cd62c6784d8bb1d91c61a6447a2a.tar
stm32f103c8-examples-db0a19edd8c4cd62c6784d8bb1d91c61a6447a2a.tar.zst
stm32f103c8-examples-db0a19edd8c4cd62c6784d8bb1d91c61a6447a2a.zip
Remove Template Code
Diffstat (limited to 'my-project')
-rw-r--r--my-project/Makefile20
-rw-r--r--my-project/my-project.c9
2 files changed, 0 insertions, 29 deletions
diff --git a/my-project/Makefile b/my-project/Makefile
deleted file mode 100644
index 5b6afde..0000000
--- a/my-project/Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
-PROJECT = awesomesauce
-BUILD_DIR = bin
-
-SHARED_DIR = ../my-common-code
-CFILES = my-project.c
-CFILES += api.c
-AFILES += api-asm.S
-
-# TODO - you will need to edit these two lines!
-DEVICE=stm32f407vgt6
-OOCD_FILE = board/stm32f4discovery.cfg
-
-# You shouldn't have to edit anything below here.
-VPATH += $(SHARED_DIR)
-INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR))
-OPENCM3_DIR=../libopencm3
-
-include $(OPENCM3_DIR)/mk/genlink-config.mk
-include ../rules.mk
-include $(OPENCM3_DIR)/mk/genlink-rules.mk
diff --git a/my-project/my-project.c b/my-project/my-project.c
deleted file mode 100644
index 7f5bc79..0000000
--- a/my-project/my-project.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "api.h"
-#include "api-asm.h"
-
-int main(void) {
- /* add your own code */
- uint32_t rev = 0xaabbccdd;
- rev = rev_bytes(rev);
- return my_func(rev);
-}