chg: SPI tests for flashmem on PA10. (aka pm3 evo) Peripheral B, fixed.
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
#define GPIO_LED_B AT91C_PIO_PA8
|
||||
#define GPIO_LED_C AT91C_PIO_PA9
|
||||
|
||||
//#define GPIO_NCS2 AT91C_PA10_NPCS2
|
||||
#define GPIO_NCS2 AT91C_PIO_PA1
|
||||
// flashmem hooked on PA10
|
||||
//#define GPIO_NCS2 AT91C_PIO_PA1
|
||||
#define GPIO_NCS2 AT91C_PA10_NPCS2
|
||||
#define GPIO_NCS0 AT91C_PA11_NPCS0
|
||||
|
||||
#define GPIO_MISO AT91C_PA12_MISO
|
||||
|
||||
@@ -93,9 +93,10 @@
|
||||
// fpga
|
||||
#define NCS_0_LOW LOW(GPIO_NCS0)
|
||||
#define NCS_0_HIGH HIGH(GPIO_NCS0)
|
||||
// lcd - flash mem
|
||||
#define NCS_2_LOW LOW(GPIO_NCS2)
|
||||
#define NCS_2_HIGH HIGH(GPIO_NCS2)
|
||||
|
||||
// flash mem PA1
|
||||
#define NCS_1_LOW LOW(GPIO_NCS2)
|
||||
#define NCS_1_HIGH HIGH(GPIO_NCS2)
|
||||
|
||||
|
||||
#define RELAY_ON() HIGH(GPIO_RELAY)
|
||||
|
||||
Reference in New Issue
Block a user