diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-07-18 12:05:20 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-07-18 12:05:20 +0000 |
commit | 292b65d6ecee8922c0b56f58c212d931ffb2a075 (patch) | |
tree | 37d099b747ebc6a884a577c5ca6dd26ef0e502bb | |
parent | 89cd33e2123583809348c29510aa8116bb2338b5 (diff) | |
download | ChibiOS-292b65d6ecee8922c0b56f58c212d931ffb2a075.tar.gz ChibiOS-292b65d6ecee8922c0b56f58c212d931ffb2a075.tar.bz2 ChibiOS-292b65d6ecee8922c0b56f58c212d931ffb2a075.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1065 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | ports/ARMCM3-STM32F103/stm32_serial.h | 14 | ||||
-rw-r--r-- | ports/ARMCM3/cmsis/core_cm3.c (renamed from ports/ARMCM3/core_cm3.c) | 0 | ||||
-rw-r--r-- | ports/ARMCM3/cmsis/core_cm3.h (renamed from ports/ARMCM3/core_cm3.h) | 0 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ports/ARMCM3-STM32F103/stm32_serial.h b/ports/ARMCM3-STM32F103/stm32_serial.h index ffacd00b6..421cf00fe 100644 --- a/ports/ARMCM3-STM32F103/stm32_serial.h +++ b/ports/ARMCM3-STM32F103/stm32_serial.h @@ -31,13 +31,13 @@ * Tricks required to make the TRUE/FALSE declaration inside the library
* compatible.
*/
-//#ifndef __STM32F10x_MAP_H
-//#undef FALSE
-//#undef TRUE
-//#include "stm32f10x_map.h"
-//#define FALSE 0
-//#define TRUE (!FALSE)
-//#endif
+#ifndef __STM32F10x_H
+#undef FALSE
+#undef TRUE
+#include <stm32f10x.h>
+#define FALSE 0
+#define TRUE (!FALSE)
+#endif
/**
* @brief Serial buffers size.
diff --git a/ports/ARMCM3/core_cm3.c b/ports/ARMCM3/cmsis/core_cm3.c index ea8cb1ac0..ea8cb1ac0 100644 --- a/ports/ARMCM3/core_cm3.c +++ b/ports/ARMCM3/cmsis/core_cm3.c diff --git a/ports/ARMCM3/core_cm3.h b/ports/ARMCM3/cmsis/core_cm3.h index eaec52246..eaec52246 100644 --- a/ports/ARMCM3/core_cm3.h +++ b/ports/ARMCM3/cmsis/core_cm3.h |