projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eingabetaster.
[hackover2013-badge-firmware.git]
/
r0ketports.h
diff --git
a/r0ketports.h
b/r0ketports.h
index
8ef517a
..
47bb247
100644
(file)
--- a/
r0ketports.h
+++ b/
r0ketports.h
@@
-26,20
+26,20
@@
// TODO
// FIXME:
// order of buttons is without sense!
// TODO
// FIXME:
// order of buttons is without sense!
-#define RB_BTN
0
1,5
-#define RB_BTN
0_IO IOCON_PIO0_1
+#define RB_BTN
1
1,5
+#define RB_BTN
1_IO IOCON_PIO1_5
-#define RB_BTN
1
1,6
-#define RB_BTN
1_IO IOCON_PIO2_9
+#define RB_BTN
2
1,6
+#define RB_BTN
2_IO IOCON_PIO1_6
-#define RB_BTN
2
3,2
-#define RB_BTN
2_IO IOCON_PIO2_6
+#define RB_BTN
3
3,2
+#define RB_BTN
3_IO IOCON_PIO3_2
-#define RB_BTN
3
3,3
-#define RB_BTN
3
_IO IOCON_PIO3_3
+#define RB_BTN
0
3,3
+#define RB_BTN
0
_IO IOCON_PIO3_3
-#define RB_BTN4
2
,7
-#define RB_BTN4_IO IOCON_PIO
2
_7
+#define RB_BTN4
1
,7
+#define RB_BTN4_IO IOCON_PIO
1
_7
// A and B buttons on the hackover badge only
#define RB_BTN_A 1,11
// A and B buttons on the hackover badge only
#define RB_BTN_A 1,11
@@
-79,12
+79,16
@@
#define RB_LCD_CS 1,0
#define RB_LCD_RST 1,1
#define RB_LCD_CS 1,0
#define RB_LCD_RST 1,1
+#define RB_SPI_CS_DF 0,7
+
#else
#define RB_LCD_BL 1,9
#define RB_LCD_CS 2,1
#define RB_LCD_RST 2,2
#else
#define RB_LCD_BL 1,9
#define RB_LCD_CS 2,1
#define RB_LCD_RST 2,2
+#define RB_SPI_CS_DF 2,0
+
#endif
#endif
@@
-101,8
+105,6
@@
#define RB_SPI_SCK 2,11
#define RB_SPI_SCK 2,11
-#define RB_SPI_CS_DF 2,0
-
#define RB_SPI_SS0 2,5
#define RB_SPI_SS1 2,4
#define RB_SPI_SS0 2,5
#define RB_SPI_SS1 2,4
This page took
0.030421 seconds
and
4
git commands to generate.