Skip to content

Commit c17ba39

Browse files
committed
adding comments for PMOD location on GPIO's
1 parent b3617ec commit c17ba39

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

logi-test/sw/common/config.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@
6161
#ifdef LOGIPI
6262

6363

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
6666
#define GPIO0DIR 0x0003
67-
#define GPIO1 0x0004
67+
#define GPIO1 0x0004 //PMOD 1 for LSB and PMOD 2 for MSB
6868
#define GPIO1DIR 0x0005
69-
#define GPIO2 0x0006
69+
#define GPIO2 0x0006 //ARD[5:0] for LSB
7070
#define GPIO2DIR 0x0007
7171
#define REG0 0x0010
7272
#define REG1 0x0011
@@ -98,7 +98,7 @@
9898
#ifdef LOGIBONE
9999

100100
#define LOAD_CMD "/usr/bin/logi_loader ./logibone_test.bit"
101-
#define GPIO0 0x0004
101+
#define GPIO0 0x0004
102102
#define GPIO0DIR 0x0006
103103
#define GPIO1 0x0008
104104
#define GPIO1DIR 0x000A

0 commit comments

Comments
 (0)