aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/Mikromedia-Plus-STM32-M4
diff options
context:
space:
mode:
Diffstat (limited to 'boards/base/Mikromedia-Plus-STM32-M4')
-rw-r--r--boards/base/Mikromedia-Plus-STM32-M4/board.mk2
-rw-r--r--boards/base/Mikromedia-Plus-STM32-M4/gmouse_lld_STMPE610_board.h14
2 files changed, 8 insertions, 8 deletions
diff --git a/boards/base/Mikromedia-Plus-STM32-M4/board.mk b/boards/base/Mikromedia-Plus-STM32-M4/board.mk
index 61a87888..282649d0 100644
--- a/boards/base/Mikromedia-Plus-STM32-M4/board.mk
+++ b/boards/base/Mikromedia-Plus-STM32-M4/board.mk
@@ -1,6 +1,6 @@
GFXINC += $(GFXLIB)/boards/base/Mikromedia-Plus-STM32-M4
GFXSRC +=
-GFXDEFS += -DGFX_USE_OS_CHIBIOS=TRUE
+GFXDEFS += -DGFX_USE_OS_CHIBIOS=GFXON
include $(GFXLIB)/drivers/gdisp/SSD1963/driver.mk
include $(GFXLIB)/drivers/ginput/touch/STMPE610/driver.mk
include $(GFXLIB)/drivers/gaudio/vs1053/driver.mk
diff --git a/boards/base/Mikromedia-Plus-STM32-M4/gmouse_lld_STMPE610_board.h b/boards/base/Mikromedia-Plus-STM32-M4/gmouse_lld_STMPE610_board.h
index 75a1194b..c18e7450 100644
--- a/boards/base/Mikromedia-Plus-STM32-M4/gmouse_lld_STMPE610_board.h
+++ b/boards/base/Mikromedia-Plus-STM32-M4/gmouse_lld_STMPE610_board.h
@@ -20,16 +20,16 @@
#define GMOUSE_STMPE610_BOARD_DATA_SIZE 0
// Options - Leave these commented to make it user configurable in the gfxconf.h
-//#define GMOUSE_STMPE610_READ_PRESSURE FALSE
-//#define GMOUSE_STMPE610_SELF_CALIBRATE FALSE
-//#define GMOUSE_STMPE610_TEST_MODE FALSE
+//#define GMOUSE_STMPE610_READ_PRESSURE GFXOFF
+//#define GMOUSE_STMPE610_SELF_CALIBRATE GFXOFF
+//#define GMOUSE_STMPE610_TEST_MODE GFXOFF
-// If TRUE this board has the STMPE610 IRQ pin connected to a GPIO.
+// If GFXON this board has the STMPE610 IRQ pin connected to a GPIO.
// Note: Although this board has such a pin its reliability has not been tested on this board!!!!!
-#define GMOUSE_STMPE610_GPIO_IRQPIN FALSE
+#define GMOUSE_STMPE610_GPIO_IRQPIN GFXOFF
-// If TRUE this is a really slow CPU and we should always clear the FIFO between reads.
-#define GMOUSE_STMPE610_SLOW_CPU FALSE
+// If GFXON this is a really slow CPU and we should always clear the FIFO between reads.
+#define GMOUSE_STMPE610_SLOW_CPU GFXOFF
// Slave address
#define STMPE610_ADDR (0x88 >> 1)