aboutsummaryrefslogtreecommitdiff
path: root/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile
diff options
context:
space:
mode:
authorchrysn2012-04-19 13:14:54 +0200
committerchrysn2012-04-19 13:15:34 +0200
commit705cdab7d702772829fd4cff37cf22bab9f59ddb (patch)
treef5fe9d4017cb9b919c0b81db4a06ece521cff08a /examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile
parent43acfc531a30874f080a41769778fc56bbcb45e4 (diff)
extend the cmsis emulation layer to compile with the complete efm32lib
most of this is non-functional but just a list of stubs that are absolutely required to make it compile
Diffstat (limited to 'examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile')
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile
new file mode 100644
index 0000000..181e15a
--- /dev/null
+++ b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/Makefile
@@ -0,0 +1,26 @@
+##
+## This file is part of the libopencm3 project.
+##
+## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+## Copyright (C) 2012 chrysn <chrysn@fsfe.org>
+##
+## This library is free software: you can redistribute it and/or modify
+## it under the terms of the GNU Lesser General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## (at your option) any later version.
+##
+## This library is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU Lesser General Public License for more details.
+##
+## You should have received a copy of the GNU Lesser General Public License
+## along with this library. If not, see <http://www.gnu.org/licenses/>.
+##
+
+BINARY = test
+
+OBJS += core_cm3.o $(patsubst %.c,%.o,$(wildcard efm32_*.c))
+CFLAGS += -I/tmp/EFM32_CMSIS_2.4.1/efm32lib/inc/ -I /tmp/EFM32_CMSIS_2.4.1/CMSIS/CM3/DeviceSupport/EnergyMicro/EFM32/ -DEFM32G880F128 -I.
+
+include ../Makefile.include