Skip to content

Commit 6b3f70d

Browse files
committed
remove all uart pin from nrf52840 board, since it is not used.
1 parent 09fdd7d commit 6b3f70d

File tree

20 files changed

+80
-185
lines changed

20 files changed

+80
-185
lines changed

src/boards/aramcon_badge_2019/board.h

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,9 @@
4646
#define BUTTON_2 _PINNUM(0, 29) // middle button
4747
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4848

49-
/*------------------------------------------------------------------*/
50-
/* UART (only used by nRF52832)
51-
*------------------------------------------------------------------*/
52-
#define RX_PIN_NUMBER _PINNUM(0, 28) // SDA
53-
#define TX_PIN_NUMBER _PINNUM(0, 3) // SCL
54-
#define CTS_PIN_NUMBER 0
55-
#define RTS_PIN_NUMBER 0
56-
#define HWFC false
57-
58-
// Used as model string in OTA mode
49+
//--------------------------------------------------------------------+
50+
// BLE OTA
51+
//--------------------------------------------------------------------+
5952
#define BLEDIS_MANUFACTURER "ARAMCON Badge Team"
6053
#define BLEDIS_MODEL "ARAMCON Badge 2019"
6154

src/boards/arcade_feather_nrf52840_express/board.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@
4747
#define BUTTON_2 _PINNUM(0, 10)
4848
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4949

50-
/*------------------------------------------------------------------*/
51-
/* UART (only used by nRF52832)
52-
*------------------------------------------------------------------*/
53-
#define RX_PIN_NUMBER 8
54-
#define TX_PIN_NUMBER 6
55-
#define CTS_PIN_NUMBER 0
56-
#define RTS_PIN_NUMBER 0
57-
#define HWFC false
58-
5950
//--------------------------------------------------------------------+
6051
// BLE OTA
6152
//--------------------------------------------------------------------+

src/boards/arduino_nano_33_ble/board.h

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,9 @@
4242
#define BUTTON_2 _PINNUM(1, 12) // D3 switch
4343
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4444

45-
/*------------------------------------------------------------------*/
46-
/* UART (only used by nRF52832)
47-
*------------------------------------------------------------------*/
48-
#define RX_PIN_NUMBER _PINNUM(1, 10)
49-
#define TX_PIN_NUMBER _PINNUM(1, 3)
50-
#define CTS_PIN_NUMBER 0
51-
#define RTS_PIN_NUMBER 0
52-
#define HWFC false
53-
54-
// Used as model string in OTA mode
45+
//--------------------------------------------------------------------+
46+
// BLE OTA
47+
//--------------------------------------------------------------------+
5548
#define BLEDIS_MANUFACTURER "Arduino"
5649
#define BLEDIS_MODEL "Nano 33 BLE"
5750

src/boards/circuitplayground_nrf52840/board.h

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,9 @@
4646
#define BUTTON_2 _PINNUM(1, 15) // right button
4747
#define BUTTON_PULL NRF_GPIO_PIN_PULLDOWN
4848

49-
/*------------------------------------------------------------------*/
50-
/* UART (only used by nRF52832)
51-
*------------------------------------------------------------------*/
52-
#define RX_PIN_NUMBER _PINNUM(0, 30)
53-
#define TX_PIN_NUMBER _PINNUM(0, 14)
54-
#define CTS_PIN_NUMBER 0
55-
#define RTS_PIN_NUMBER 0
56-
#define HWFC false
57-
58-
// Used as model string in OTA mode
49+
//--------------------------------------------------------------------+
50+
// BLE OTA
51+
//--------------------------------------------------------------------+
5952
#define BLEDIS_MANUFACTURER "Adafruit Industries"
6053
#define BLEDIS_MODEL "Circuit Playground nRF52840"
6154

src/boards/clue_nrf52840/board.h

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,9 @@
4646
#define BUTTON_2 _PINNUM(1, 10) // right button
4747
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4848

49-
/*------------------------------------------------------------------*/
50-
/* UART (only used by nRF52832)
51-
*------------------------------------------------------------------*/
52-
#define RX_PIN_NUMBER _PINNUM(0, 09)
53-
#define TX_PIN_NUMBER _PINNUM(0, 10)
54-
#define CTS_PIN_NUMBER 0
55-
#define RTS_PIN_NUMBER 0
56-
#define HWFC false
57-
58-
// Used as model string in OTA mode
49+
//--------------------------------------------------------------------+
50+
// BLE OTA
51+
//--------------------------------------------------------------------+
5952
#define BLEDIS_MANUFACTURER "Adafruit Industries"
6053
#define BLEDIS_MODEL "CLUE nRF52840"
6154

src/boards/electronut_labs_papyr/board.h

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,15 @@
4747
#define BUTTON_2 1 // P0.1 not exposed anywhere, FRST n/a
4848
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4949

50-
/*------------------------------------------------------------------*/
51-
/* UART (only used by nRF52832)
52-
*------------------------------------------------------------------*/
53-
#define RX_PIN_NUMBER 7
54-
#define TX_PIN_NUMBER 8
55-
#define CTS_PIN_NUMBER 0
56-
#define RTS_PIN_NUMBER 0
57-
#define HWFC false
58-
59-
// Used as model string in OTA mode
50+
//--------------------------------------------------------------------+
51+
// BLE OTA
52+
//--------------------------------------------------------------------+
6053
#define BLEDIS_MANUFACTURER "Electronut Labs"
6154
#define BLEDIS_MODEL "Papyr"
6255

56+
//--------------------------------------------------------------------+
57+
// USB
58+
//--------------------------------------------------------------------+
6359
#define UF2_PRODUCT_NAME "Electronut Labs Papyr"
6460
#define UF2_BOARD_ID "nRF52840-Papyr-v1"
6561
#define UF2_INDEX_URL "https://docs.electronut.in/papyr"

src/boards/feather_nrf52832/board.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
#define RTS_PIN_NUMBER 0
5151
#define HWFC false
5252

53-
// Used as model string in OTA mode
53+
//--------------------------------------------------------------------+
54+
// BLE OTA
55+
//--------------------------------------------------------------------+
5456
#define BLEDIS_MANUFACTURER "Adafruit Industries"
5557
#define BLEDIS_MODEL "Feather nRF52832"
5658

src/boards/feather_nrf52840_sense/board.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@
4747
#define BUTTON_2 _PINNUM(0, 10)
4848
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4949

50-
/*------------------------------------------------------------------*/
51-
/* UART (only used by nRF52832)
52-
*------------------------------------------------------------------*/
53-
#define RX_PIN_NUMBER 8
54-
#define TX_PIN_NUMBER 6
55-
#define CTS_PIN_NUMBER 0
56-
#define RTS_PIN_NUMBER 0
57-
#define HWFC false
58-
5950
//--------------------------------------------------------------------+
6051
// BLE OTA
6152
//--------------------------------------------------------------------+

src/boards/itsybitsy_nrf52840_express/board.h

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,9 @@
4646
#define BUTTON_2 _PINNUM(1, 02) // D2 breakout
4747
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
4848

49-
/*------------------------------------------------------------------*/
50-
/* UART (only used by nRF52832)
51-
*------------------------------------------------------------------*/
52-
#define RX_PIN_NUMBER _PINNUM(0, 25)
53-
#define TX_PIN_NUMBER _PINNUM(0, 24)
54-
#define CTS_PIN_NUMBER 0
55-
#define RTS_PIN_NUMBER 0
56-
#define HWFC false
57-
58-
// Used as model string in OTA mode
49+
//--------------------------------------------------------------------+
50+
// BLE OTA
51+
//--------------------------------------------------------------------+
5952
#define BLEDIS_MANUFACTURER "Adafruit Industries"
6053
#define BLEDIS_MODEL "ItsyBitsy nRF52840 Express"
6154

src/boards/mdk_nrf52840_dongle/board.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
//#define LED_RGB_GREEN_PIN _PINNUM(0, 22)
4040
//#define LED_RGB_BLUE_PIN _PINNUM(0, 24)
4141
#define BOARD_RGB_BRIGHTNESS 0x404040
42+
4243
/*------------------------------------------------------------------*/
4344
/* BUTTON
4445
*------------------------------------------------------------------*/
@@ -48,10 +49,15 @@
4849
#define BUTTON_2 _PINNUM(0, 19) // no connection
4950
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
5051

51-
// Used as model string in OTA mode
52+
//--------------------------------------------------------------------+
53+
// BLE OTA
54+
//--------------------------------------------------------------------+
5255
#define BLEDIS_MANUFACTURER "MakerDiary"
5356
#define BLEDIS_MODEL "nRF52840 Micro Dev Kit USB Dongle"
5457

58+
//--------------------------------------------------------------------+
59+
// USB
60+
//--------------------------------------------------------------------+
5561
#define UF2_PRODUCT_NAME "MDK nRF52840 USB Dongle"
5662
#define UF2_VOLUME_LABEL "MDK840DONGL"
5763
#define UF2_BOARD_ID "nRF52840-Dongle-v1"

0 commit comments

Comments
 (0)