aboutsummaryrefslogtreecommitdiffstats
path: root/os/common
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-12-08 11:45:41 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-12-08 11:45:41 +0000
commit358fdba16d69bbb8ec872288e8fd00a5e59a2b18 (patch)
tree7e8b5639343234f32e0ee1bcdf98fda3c5236c34 /os/common
parentf3249c78d9353bca99172f5cbbc6b7fb0c64c665 (diff)
downloadChibiOS-358fdba16d69bbb8ec872288e8fd00a5e59a2b18.tar.gz
ChibiOS-358fdba16d69bbb8ec872288e8fd00a5e59a2b18.tar.bz2
ChibiOS-358fdba16d69bbb8ec872288e8fd00a5e59a2b18.zip
Restored LPC2148 demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12464 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/common')
-rw-r--r--os/common/startup/ARM/compilers/GCC/crt1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/os/common/startup/ARM/compilers/GCC/crt1.c b/os/common/startup/ARM/compilers/GCC/crt1.c
index d6fb548d9..846bc1f83 100644
--- a/os/common/startup/ARM/compilers/GCC/crt1.c
+++ b/os/common/startup/ARM/compilers/GCC/crt1.c
@@ -25,6 +25,18 @@
#include <stdbool.h>
/**
+ * @brief Architecture-dependent core initialization.
+ * @details This hook is invoked immediately after the stack initialization
+ * and before the DATA and BSS segments initialization.
+ * @note This function is a weak symbol.
+ */
+#if !defined(__DOXYGEN__)
+__attribute__((weak))
+#endif
+/*lint -save -e9075 [8.4] All symbols are invoked from asm context.*/
+void __core_init(void) {}
+
+/**
* @brief Early initialization.
* @details This hook is invoked immediately after the stack initialization
* and before the DATA and BSS segments initialization. The