aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-03-08 09:20:51 +0100
committerJoel Bodenmann <joel@unormal.org>2013-03-08 09:20:51 +0100
commitf5520981167ca8d5103a6dc8dd391a72c6ebeb60 (patch)
tree0f43d60a85b17f3c5bfcaaf8b81e9d6fbd64bff2 /drivers
parente9cb6aa17a053f5eb00b4a898c7f7748138503ae (diff)
downloaduGFX-f5520981167ca8d5103a6dc8dd391a72c6ebeb60.tar.gz
uGFX-f5520981167ca8d5103a6dc8dd391a72c6ebeb60.tar.bz2
uGFX-f5520981167ca8d5103a6dc8dd391a72c6ebeb60.zip
embest DMSTF4BB board fix - removed FSMC suffix because only FSMC exists
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gdisp/SSD2119/gdisp_lld.c4
-rw-r--r--drivers/gdisp/SSD2119/gdisp_lld_board_embest_dmstf4bb.h (renamed from drivers/gdisp/SSD2119/gdisp_lld_board_embest_dmstf4bb_fsmc.h)0
-rw-r--r--drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h4
3 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gdisp/SSD2119/gdisp_lld.c b/drivers/gdisp/SSD2119/gdisp_lld.c
index b7550794..b8884e0f 100644
--- a/drivers/gdisp/SSD2119/gdisp_lld.c
+++ b/drivers/gdisp/SSD2119/gdisp_lld.c
@@ -58,8 +58,8 @@
#if defined(GDISP_USE_CUSTOM_BOARD) && GDISP_USE_CUSTOM_BOARD
/* Include the user supplied board definitions */
#include "gdisp_lld_board.h"
-#elif defined(BOARD_EMBEST_DMSTF4BB_FSMC)
- #include "gdisp_lld_board_embest_dmstf4bb_fsmc.h"
+#elif defined(BOARD_EMBEST_DMSTF4BB)
+ #include "gdisp_lld_board_embest_dmstf4bb.h"
#else
/* Include the user supplied board definitions */
#include "gdisp_lld_board.h"
diff --git a/drivers/gdisp/SSD2119/gdisp_lld_board_embest_dmstf4bb_fsmc.h b/drivers/gdisp/SSD2119/gdisp_lld_board_embest_dmstf4bb.h
index bf7b3890..bf7b3890 100644
--- a/drivers/gdisp/SSD2119/gdisp_lld_board_embest_dmstf4bb_fsmc.h
+++ b/drivers/gdisp/SSD2119/gdisp_lld_board_embest_dmstf4bb.h
diff --git a/drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h b/drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h
index 0ffbec2a..fa43f4ac 100644
--- a/drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h
+++ b/drivers/ginput/touch/STMPE811/ginput_lld_mouse_board_embest_dmstf4bb.h
@@ -42,7 +42,9 @@ static const I2CConfig i2ccfg2 = {
* @notapi
*/
static inline void init_board(void) {
- palSetPadMode(GPIOC, 13, PAL_MODE_INPUT);
+ palSetPadMode(GPIOC, 13, PAL_MODE_INPUT); /* TP IRQ */
+ palSetPadMode(GPIOB, 10, PAL_MODE_ALTERNATE(4)); /* I2C2 SCL */
+ palSetPadMode(GPIOB, 11, PAL_MODE_ALTERNATE(4)); /* I2C2 SDA */
i2cStart(&I2CD2, &i2ccfg2);
}