aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/STM32F746-Discovery
diff options
context:
space:
mode:
Diffstat (limited to 'boards/base/STM32F746-Discovery')
-rw-r--r--boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c3
-rw-r--r--boards/base/STM32F746-Discovery/stm32f746g_raw32_system.c3
-rw-r--r--boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c3
-rw-r--r--boards/base/STM32F746-Discovery/stm32f7_i2c.c3
4 files changed, 12 insertions, 0 deletions
diff --git a/boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c b/boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c
index 9d77ee36..17dc82cb 100644
--- a/boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c
+++ b/boards/base/STM32F746-Discovery/stm32f746g_discovery_sdram.c
@@ -1,4 +1,7 @@
#include "../../../gfx.h"
+#undef Red
+#undef Green
+#undef Blue
#include "stm32f746g_discovery_sdram.h"
#include "stm32f7xx_hal_rcc.h"
#include "stm32f7xx_hal_dma.h"
diff --git a/boards/base/STM32F746-Discovery/stm32f746g_raw32_system.c b/boards/base/STM32F746-Discovery/stm32f746g_raw32_system.c
index 1ea7450a..deeaccb0 100644
--- a/boards/base/STM32F746-Discovery/stm32f746g_raw32_system.c
+++ b/boards/base/STM32F746-Discovery/stm32f746g_raw32_system.c
@@ -1,4 +1,7 @@
#include "../../../gfx.h"
+#undef Red
+#undef Green
+#undef Blue
#include "stm32f7xx.h"
#if !defined (HSE_VALUE)
diff --git a/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c b/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c
index 2f6af0dd..51e59936 100644
--- a/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c
+++ b/boards/base/STM32F746-Discovery/stm32f746g_raw32_ugfx.c
@@ -1,4 +1,7 @@
#include "../../../gfx.h"
+#undef Red
+#undef Green
+#undef Blue
#include "stm32f7xx_hal.h"
#if GFX_USE_OS_CHIBIOS
diff --git a/boards/base/STM32F746-Discovery/stm32f7_i2c.c b/boards/base/STM32F746-Discovery/stm32f7_i2c.c
index d1e2ed28..07a6ce30 100644
--- a/boards/base/STM32F746-Discovery/stm32f7_i2c.c
+++ b/boards/base/STM32F746-Discovery/stm32f7_i2c.c
@@ -1,4 +1,7 @@
#include "gfx.h"
+#undef Red
+#undef Green
+#undef Blue
#include "stm32f7_i2c.h"
/*