diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-12-08 11:45:41 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-12-08 11:45:41 +0000 |
commit | 358fdba16d69bbb8ec872288e8fd00a5e59a2b18 (patch) | |
tree | 7e8b5639343234f32e0ee1bcdf98fda3c5236c34 /os/common/startup/ARM/compilers | |
parent | f3249c78d9353bca99172f5cbbc6b7fb0c64c665 (diff) | |
download | ChibiOS-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/startup/ARM/compilers')
-rw-r--r-- | os/common/startup/ARM/compilers/GCC/crt1.c | 12 |
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
|