aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-05-12 07:01:42 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-05-12 07:01:42 +0000
commitd6b969dac4bab057ba283ba93da5edb03b8c24a2 (patch)
treee5207a66fdb1b929f560bf091f756e58634b0676
parent2dbd8fea1aab8bdaa435ff52139153c92b29ee90 (diff)
downloadChibiOS-d6b969dac4bab057ba283ba93da5edb03b8c24a2.tar.gz
ChibiOS-d6b969dac4bab057ba283ba93da5edb03b8c24a2.tar.bz2
ChibiOS-d6b969dac4bab057ba283ba93da5edb03b8c24a2.zip
Fixed bug #947.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12023 110e8d01-0319-4d1e-a829-52ad28d1bb01
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S2
-rw-r--r--os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S2
-rw-r--r--readme.txt2
3 files changed, 4 insertions, 2 deletions
diff --git a/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S b/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S
index b3bed66b3..36b96dfe7 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S
+++ b/os/common/startup/ARMCMx/compilers/GCC/crt0_v6m.S
@@ -50,7 +50,7 @@
* @note This is required if the boot process is not reliable for whatever
* reason (bad ROMs, bad bootloaders, bad debuggers=.
*/
-#if !defined(CRT0_VTOR_INIT) || defined(__DOXYGEN__)
+#if !defined(CRT0_FORCE_MSP_INIT) || defined(__DOXYGEN__)
#define CRT0_FORCE_MSP_INIT TRUE
#endif
diff --git a/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S b/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S
index 453a9e64c..7d84a7448 100644
--- a/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S
+++ b/os/common/startup/ARMCMx/compilers/GCC/crt0_v7m.S
@@ -57,7 +57,7 @@
* @note This is required if the boot process is not reliable for whatever
* reason (bad ROMs, bad bootloaders, bad debuggers=.
*/
-#if !defined(CRT0_VTOR_INIT) || defined(__DOXYGEN__)
+#if !defined(CRT0_FORCE_MSP_INIT) || defined(__DOXYGEN__)
#define CRT0_FORCE_MSP_INIT TRUE
#endif
diff --git a/readme.txt b/readme.txt
index 8a9babd63..089ea896a 100644
--- a/readme.txt
+++ b/readme.txt
@@ -124,6 +124,8 @@
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
+- OTH: Fixed wrong macro check in GCC Cortex-M startup files (bug #947)
+ (backported to 18.2.2 and 17.6.5).
- HAL: Fixed binary instead of logic operator in STM32F4 HAL (bug #946)
(backported to 18.2.2 and 17.6.5).
- HAL: Fixed Mikroe clicker 2 misaligned board file (bug #945)