File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 61
61
#ifdef LOGIPI
62
62
63
63
64
- #define LOAD_CMD "/usr/bin/logi_loader ./logibone_test .bit"
65
- #define GPIO0 0x0002
64
+ #define LOAD_CMD "/usr/bin/logi_loader ./logipi_test .bit"
65
+ #define GPIO0 0x0002 //PMOD 1 for LSB and PMOD 2 for MSB
66
66
#define GPIO0DIR 0x0003
67
- #define GPIO1 0x0004
67
+ #define GPIO1 0x0004 //PMOD 1 for LSB and PMOD 2 for MSB
68
68
#define GPIO1DIR 0x0005
69
- #define GPIO2 0x0006
69
+ #define GPIO2 0x0006 //ARD[5:0] for LSB
70
70
#define GPIO2DIR 0x0007
71
71
#define REG0 0x0010
72
72
#define REG1 0x0011
98
98
#ifdef LOGIBONE
99
99
100
100
#define LOAD_CMD "/usr/bin/logi_loader ./logibone_test.bit"
101
- #define GPIO0 0x0004
101
+ #define GPIO0 0x0004
102
102
#define GPIO0DIR 0x0006
103
103
#define GPIO1 0x0008
104
104
#define GPIO1DIR 0x000A
You can’t perform that action at this time.
0 commit comments