aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/common/startup/ARM/compilers/GCC/crt0.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/common/startup/ARM/compilers/GCC/crt0.S b/os/common/startup/ARM/compilers/GCC/crt0.S
index 43cb723ab..25f325fc3 100644
--- a/os/common/startup/ARM/compilers/GCC/crt0.S
+++ b/os/common/startup/ARM/compilers/GCC/crt0.S
@@ -120,6 +120,9 @@ bssloop:
* Late initialization.
*/
#if !defined(THUMB_NO_INTERWORKING)
+#if defined(CH_CFG_USE_MMU)
+ bl __core_init
+#endif
bl __late_init
#else /* defined(THUMB_NO_INTERWORKING) */
add r0, pc, #1