aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrysn2012-04-22 22:07:01 +0200
committerchrysn2012-04-22 22:07:01 +0200
commit8359caff3b6abb69bbdc6c4c5ad93c3066ed450a (patch)
treeb2e58900cb978655bc94587fe904c1da3f200f6b
parent09fea0bc1bb9f38676375d4165676f8f35f5c66a (diff)
moved core_cm3.h to more general location
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/core_cm3.h1
-rw-r--r--examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/core_cm3.c8
l---------examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/core_cm3.h1
-rw-r--r--include/libopencmsis/core_cm3.h (renamed from examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/core_cm3.h)4
4 files changed, 2 insertions, 12 deletions
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/core_cm3.h b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/core_cm3.h
deleted file mode 120000
index b7a19ea..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/miniblink-efm32lib/core_cm3.h
+++ /dev/null
@@ -1 +0,0 @@
-../../efm32-tg-stk3300/miniblink-efm32lib/core_cm3.h \ No newline at end of file
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/core_cm3.c b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/core_cm3.c
deleted file mode 100644
index 8b412ad..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/core_cm3.c
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "core_cm3.h"
-
-/* stubs for efm32_cmu.c */
-uint32_t SystemCoreClockGet(void) {return 1;}
-uint32_t SystemHFClockGet(void) {return 1;}
-
-uint32_t SystemLFRCOClockGet(void) {return 1;}
-uint32_t SystemLFXOClockGet(void) {return 1;}
diff --git a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/core_cm3.h b/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/core_cm3.h
deleted file mode 120000
index b7a19ea..0000000
--- a/examples/efm32/tinygecko/olimex-em32-32g880f128-h/test-efm32lib/core_cm3.h
+++ /dev/null
@@ -1 +0,0 @@
-../../efm32-tg-stk3300/miniblink-efm32lib/core_cm3.h \ No newline at end of file
diff --git a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/core_cm3.h b/include/libopencmsis/core_cm3.h
index 2ce1662..999fc48 100644
--- a/examples/efm32/tinygecko/efm32-tg-stk3300/miniblink-efm32lib/core_cm3.h
+++ b/include/libopencmsis/core_cm3.h
@@ -49,8 +49,8 @@ typedef struct
#define __REV(x) __builtin_bswap32(x)
/* stubs for efm32_cmu.c */
-uint32_t SystemCoreClockGet(void);
-uint32_t SystemHFClockGet(void);
+#define SystemCoreClockGet() 1
+#define SystemHFClockGet() 1
uint32_t SystemLFRCOClockGet(void);
uint32_t SystemLFXOClockGet(void);