diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 11:34:24 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 11:34:24 +0000 |
commit | 03933a5925ac71e4662d6152fad2237377a532cd (patch) | |
tree | a93ec7105f2bbf62c9d2fd9dab6e582c51fc9f23 /os/hal | |
parent | ecbccffa627eca423c9780ab55d9ff737b69bd35 (diff) | |
download | ChibiOS-03933a5925ac71e4662d6152fad2237377a532cd.tar.gz ChibiOS-03933a5925ac71e4662d6152fad2237377a532cd.tar.bz2 ChibiOS-03933a5925ac71e4662d6152fad2237377a532cd.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1356 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r-- | os/hal/platforms/STM32/hal_lld.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/hal_lld.h b/os/hal/platforms/STM32/hal_lld.h index fc29c2824..455a65b32 100644 --- a/os/hal/platforms/STM32/hal_lld.h +++ b/os/hal/platforms/STM32/hal_lld.h @@ -27,6 +27,16 @@ #ifndef _HAL_LLD_H_
#define _HAL_LLD_H_
+/*
+ * Tricks required to make the TRUE/FALSE declaration inside the library
+ * compatible.
+ */
+#undef FALSE
+#undef TRUE
+#include <stm32f10x.h>
+#define FALSE 0
+#define TRUE (!FALSE)
+
#include "nvic.h"
#include "stm32_dma.h"
|