Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Commit

Permalink
chg: adjustment to RDV40 gpios, since it make use of some previous us…
Browse files Browse the repository at this point in the history
…ed for other things..
  • Loading branch information
Chris committed Jun 23, 2018
1 parent ddd9f4e commit e5e990f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/config_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#define GPIO_LED_B AT91C_PIO_PA8
#define GPIO_LED_C AT91C_PIO_PA9

// defines for flash mem, or rdv40 ?
// flashmem hooked on PA10
//#define GPIO_NCS2 AT91C_PIO_PA1
#define GPIO_NCS2 AT91C_PA10_NPCS2
Expand All @@ -34,8 +35,17 @@
#define GPIO_SSC_DIN AT91C_PA18_RD
#define GPIO_MUXSEL_HIPKD AT91C_PIO_PA19
#define GPIO_MUXSEL_LOPKD AT91C_PIO_PA20


#define GPIO_MUXSEL_HIRAW AT91C_PIO_PA21
#define GPIO_MUXSEL_LORAW AT91C_PIO_PA22

// RDV40 has no HIRAW/LORAW, its used for FPC
#ifdef WITH_FPC
#define GPIO_FPC_RDX AT91C_PA21_RXD1
#define GPIO_FPC_TDX AT91C_PA22_TXD1
#endif

#define GPIO_BUTTON AT91C_PIO_PA23
#define GPIO_USB_PU AT91C_PIO_PA24
#define GPIO_RELAY AT91C_PIO_PA25
Expand Down

0 comments on commit e5e990f

Please sign in to comment.