projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master'
[fw/altos]
/
src
/
samd21
/
Makefile-samd21.defs
diff --git a/src/samd21/Makefile-samd21.defs
b/src/samd21/Makefile-samd21.defs
new file mode 100644
(file)
index 0000000..
ef8713c
--- /dev/null
+++ b/
src/samd21/Makefile-samd21.defs
@@ -0,0
+1,12
@@
+ifndef TOPDIR
+TOPDIR=..
+endif
+
+include $(TOPDIR)/Makefile.defs
+
+vpath % $(TOPDIR)/samd21:$(AO_VPATH)
+
+CC=$(ARM_CC)
+
+SAMD21_CFLAGS=-mlittle-endian -mcpu=cortex-m0 -mthumb \
+ -I$(TOPDIR)/samd21 $(AO_CFLAGS) $(PICOLIBC_CFLAGS)