remove SERIAL_INTERFACES_COUNT macro
nrf52832 keep PIN_SERIAL_RX/TX
This commit is contained in:
1 parent
923974f6c4
commit
a00eb4fa70
10 files changed
+12
-23
No files matched your search
@@ -91,8 +91,6 @@ static const uint8_t A9 = PIN_A9 ;
|
||||
/*
|
||||
* Serial interfaces
|
||||
*/
|
||||
#define SERIAL_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_SERIAL1_RX (0)
|
||||
#define PIN_SERIAL1_TX (1)
|
||||
|
||||
|
||||
@@ -85,8 +85,6 @@ static const uint8_t A7 = PIN_A7 ;
|
||||
/*
|
||||
* Serial interfaces
|
||||
*/
|
||||
#define SERIAL_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_SERIAL1_RX (0)
|
||||
#define PIN_SERIAL1_TX (1)
|
||||
|
||||
|
||||
@@ -87,10 +87,8 @@ static const uint8_t AREF = PIN_AREF;
|
||||
/*
|
||||
* Serial interfaces
|
||||
*/
|
||||
#define SERIAL_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_SERIAL1_RX (8)
|
||||
#define PIN_SERIAL1_TX (6)
|
||||
#define PIN_SERIAL_RX (8)
|
||||
#define PIN_SERIAL_TX (6)
|
||||
|
||||
/*
|
||||
* SPI Interfaces
|
||||
|
||||
@@ -93,8 +93,6 @@ static const uint8_t AREF = PIN_AREF;
|
||||
/*
|
||||
* Serial interfaces
|
||||
*/
|
||||
#define SERIAL_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_SERIAL1_RX (1)
|
||||
#define PIN_SERIAL1_TX (0)
|
||||
|
||||
|
||||
@@ -89,8 +89,6 @@ static const uint8_t A6 = PIN_A6 ;
|
||||
/*
|
||||
* Serial interfaces
|
||||
*/
|
||||
#define SERIAL_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_SERIAL1_RX (0)
|
||||
#define PIN_SERIAL1_TX (1)
|
||||
|
||||
|
||||
@@ -94,8 +94,6 @@ static const uint8_t AREF = PIN_AREF;
|
||||
/*
|
||||
* Serial interfaces
|
||||
*/
|
||||
#define SERIAL_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_SERIAL1_RX (1)
|
||||
#define PIN_SERIAL1_TX (0)
|
||||
|
||||
|
||||
@@ -146,8 +146,6 @@ static const uint8_t A5 = PIN_A5 ;
|
||||
/*
|
||||
* Serial interfaces
|
||||
*/
|
||||
#define SERIAL_INTERFACES_COUNT 1
|
||||
|
||||
#define PIN_SERIAL1_RX PIN_D9
|
||||
#define PIN_SERIAL1_TX PIN_D10
|
||||
|
||||
|
||||
@@ -94,7 +94,6 @@ static const uint8_t AREF = PIN_AREF;
|
||||
/*
|
||||
* Serial interfaces
|
||||
*/
|
||||
#define SERIAL_INTERFACES_COUNT 2
|
||||
|
||||
// Arduino Header D0, D1
|
||||
#define PIN_SERIAL1_RX (33) // P1.01
|
||||
|
||||
Reference in new issue
Block a user