diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/ARMCM3-STM32F103-GCC/board.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/ARMCM3-STM32F103-GCC/board.h b/demos/ARMCM3-STM32F103-GCC/board.h index 98a82bc94..2fd5757e4 100644 --- a/demos/ARMCM3-STM32F103-GCC/board.h +++ b/demos/ARMCM3-STM32F103-GCC/board.h @@ -20,11 +20,17 @@ #ifndef _BOARD_H_
#define _BOARD_H_
+/*
+ * Tricks required to make the TRUE/FALSE declaration inside the library
+ * compatible. + */
#undef FALSE
#undef TRUE
#ifndef __STM32F10x_MAP_H
#include "stm32lib/stm32f10x_map.h"
#endif
+#define FALSE FALSE
+#define TRUE TRUE
#define BOARD_OLIMEX_STM32_P103
|