Skip to content

Commit b6f690e

Browse files
bojhsandeepmistry
authored andcommitted
define Reset-Pin for nRF52 platforms. (see#91) (sandeepmistry#229)
* define Reset-Pin for nRF52 platforms. Signed-off-by: Hubschneider Joerg (INST-IOT/ESW-Wa) <[email protected]>
1 parent 9113831 commit b6f690e

File tree

6 files changed

+30
-0
lines changed

6 files changed

+30
-0
lines changed

variants/RedBear_BLENano2/variant.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ static const uint8_t SCK = PIN_SPI_SCK ;
9090
static const uint8_t SDA = PIN_WIRE_SDA;
9191
static const uint8_t SCL = PIN_WIRE_SCL;
9292

93+
/*
94+
* Reset Button at P0.21
95+
*/
96+
#define RESET_PIN 21
97+
9398
#ifdef __cplusplus
9499
}
95100
#endif

variants/RedBear_Blend2/variant.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ static const uint8_t SCK = PIN_SPI_SCK ;
9494
static const uint8_t SDA = PIN_WIRE_SDA;
9595
static const uint8_t SCL = PIN_WIRE_SCL;
9696

97+
/*
98+
* Reset Button at P0.21
99+
*/
100+
#define RESET_PIN 21
101+
97102
#ifdef __cplusplus
98103
}
99104
#endif

variants/Taida_Century_nRF52_minidev/variant.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ static const uint8_t SCK = PIN_SPI_SCK ;
104104
static const uint8_t SDA = PIN_WIRE_SDA;
105105
static const uint8_t SCL = PIN_WIRE_SCL;
106106

107+
/*
108+
* Reset Button at P0.21
109+
*/
110+
#define RESET_PIN 21
111+
107112
#ifdef __cplusplus
108113
}
109114
#endif

variants/bluey/variant.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ static const uint8_t SCK = PIN_SPI_SCK ;
9999
#define PIN_WIRE_SDA (12u)
100100
#define PIN_WIRE_SCL (10u)
101101

102+
/*
103+
* Reset Button at P0.21
104+
*/
105+
#define RESET_PIN 21
106+
102107
#ifdef __cplusplus
103108
}
104109
#endif

variants/hackaBLE/variant.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ static const uint8_t SCK = PIN_SPI_SCK ;
9999
#define PIN_WIRE_SDA (7)
100100
#define PIN_WIRE_SCL (8)
101101

102+
/*
103+
* Reset Button at P0.21
104+
*/
105+
#define RESET_PIN 21
106+
102107
#ifdef __cplusplus
103108
}
104109
#endif

variants/nRF52DK/variant.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ static const uint8_t SCK = PIN_SPI_SCK ;
108108
static const uint8_t SDA = PIN_WIRE_SDA;
109109
static const uint8_t SCL = PIN_WIRE_SCL;
110110

111+
/*
112+
* Reset Button at P0.21
113+
*/
114+
#define RESET_PIN 21
115+
111116
#ifdef __cplusplus
112117
}
113118
#endif

0 commit comments

Comments
 (0)