Undef uGFX colors for the STM32F7 board to prevent conflicts with changed STM32 HAL header files

This commit is contained in:
Andrew Hannam 2016-06-16 20:34:03 +10:00
parent 8d66f0233f
commit bb7f100804
4 changed files with 12 additions and 0 deletions

View File

@ -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"

View File

@ -1,4 +1,7 @@
#include "../../../gfx.h"
#undef Red
#undef Green
#undef Blue
#include "stm32f7xx.h"
#if !defined (HSE_VALUE)

View File

@ -1,4 +1,7 @@
#include "../../../gfx.h"
#undef Red
#undef Green
#undef Blue
#include "stm32f7xx_hal.h"
#if GFX_USE_OS_CHIBIOS

View File

@ -1,4 +1,7 @@
#include "gfx.h"
#undef Red
#undef Green
#undef Blue
#include "stm32f7_i2c.h"
/*