Skip to content

Commit

Permalink
adding comments for PMOD location on GPIO's
Browse files Browse the repository at this point in the history
  • Loading branch information
jpiat committed Mar 12, 2015
1 parent b3617ec commit c17ba39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions logi-test/sw/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@
#ifdef LOGIPI


#define LOAD_CMD "/usr/bin/logi_loader ./logibone_test.bit"
#define GPIO0 0x0002
#define LOAD_CMD "/usr/bin/logi_loader ./logipi_test.bit"
#define GPIO0 0x0002 //PMOD 1 for LSB and PMOD 2 for MSB
#define GPIO0DIR 0x0003
#define GPIO1 0x0004
#define GPIO1 0x0004 //PMOD 1 for LSB and PMOD 2 for MSB
#define GPIO1DIR 0x0005
#define GPIO2 0x0006
#define GPIO2 0x0006 //ARD[5:0] for LSB
#define GPIO2DIR 0x0007
#define REG0 0x0010
#define REG1 0x0011
Expand Down Expand Up @@ -98,7 +98,7 @@
#ifdef LOGIBONE

#define LOAD_CMD "/usr/bin/logi_loader ./logibone_test.bit"
#define GPIO0 0x0004
#define GPIO0 0x0004
#define GPIO0DIR 0x0006
#define GPIO1 0x0008
#define GPIO1DIR 0x000A
Expand Down

0 comments on commit c17ba39

Please sign in to comment.