aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-29 11:34:24 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-29 11:34:24 +0000
commit03933a5925ac71e4662d6152fad2237377a532cd (patch)
treea93ec7105f2bbf62c9d2fd9dab6e582c51fc9f23 /os/hal/platforms
parentecbccffa627eca423c9780ab55d9ff737b69bd35 (diff)
downloadChibiOS-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/platforms')
-rw-r--r--os/hal/platforms/STM32/hal_lld.h10
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"