aboutsummaryrefslogtreecommitdiffstats
path: root/os/ext/CMSIS
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-06-13 10:09:50 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-06-13 10:09:50 +0000
commit07abb12be83bb896d5dcbce8397f90d1f40f0a95 (patch)
tree565e868529638ec4dbab61f55f067f6c95a8d957 /os/ext/CMSIS
parentbddc8f7ff77320e1dfcb457c7568ef9a90545fe1 (diff)
downloadChibiOS-07abb12be83bb896d5dcbce8397f90d1f40f0a95.tar.gz
ChibiOS-07abb12be83bb896d5dcbce8397f90d1f40f0a95.tar.bz2
ChibiOS-07abb12be83bb896d5dcbce8397f90d1f40f0a95.zip
Fixed bug #603, adjusted an ST header because a missing macro.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8026 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ext/CMSIS')
-rw-r--r--os/ext/CMSIS/ST/stm32f10x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/ext/CMSIS/ST/stm32f10x.h b/os/ext/CMSIS/ST/stm32f10x.h
index 8ca3fe29b..98de429b5 100644
--- a/os/ext/CMSIS/ST/stm32f10x.h
+++ b/os/ext/CMSIS/ST/stm32f10x.h
@@ -152,6 +152,9 @@
/**
* @brief Configuration of the Cortex-M3 Processor and Core Peripherals
*/
+/* CHIBIOS FIX */
+#define __CM3_REV 0x0201 /*!< Core revision r2p1, not sure it is right */
+/* END CHIBIOS FIX */
#ifdef STM32F10X_XL
#define __MPU_PRESENT 1 /*!< STM32 XL-density devices provide an MPU */
#else