|
22 | 22 | * THE SOFTWARE.
|
23 | 23 | */
|
24 | 24 |
|
25 |
| -#ifndef _FEATHER_NRF52840_TFT_H |
26 |
| -#define _FEATHER_NRF52840_TFT_H |
| 25 | +#ifndef _FEATHER_NRF52840_SENSE_TFT_H |
| 26 | +#define _FEATHER_NRF52840_SENSE_TFT_H |
27 | 27 |
|
28 | 28 | #define _PINNUM(port, pin) ((port)*32 + (pin))
|
29 | 29 |
|
|
44 | 44 | *------------------------------------------------------------------*/
|
45 | 45 | #define BUTTONS_NUMBER 2
|
46 | 46 | #define BUTTON_1 _PINNUM(1, 6)
|
47 |
| -#define BUTTON_2 _PINNUM(1, 4) // not connected |
| 47 | +#define BUTTON_2 _PINNUM(1, 10) // DFU pin |
48 | 48 | #define BUTTON_PULL NRF_GPIO_PIN_PULLUP
|
49 | 49 |
|
50 | 50 | //--------------------------------------------------------------------+
|
51 | 51 | // BLE OTA
|
52 | 52 | //--------------------------------------------------------------------+
|
53 | 53 | #define BLEDIS_MANUFACTURER "Adafruit Industries"
|
54 |
| -#define BLEDIS_MODEL "Feather nRF52840 TFT" |
| 54 | +#define BLEDIS_MODEL "Feather nRF52840 Sense TFT" |
55 | 55 |
|
56 | 56 | //--------------------------------------------------------------------+
|
57 | 57 | // USB
|
58 | 58 | //--------------------------------------------------------------------+
|
59 | 59 | #define USB_DESC_VID 0x239A
|
60 |
| -#define USB_DESC_UF2_PID 0x0029 |
61 |
| -#define USB_DESC_CDC_ONLY_PID 0x002A |
| 60 | +#define USB_DESC_UF2_PID 0x0087 |
| 61 | +#define USB_DESC_CDC_ONLY_PID 0x0088 |
62 | 62 |
|
63 | 63 | //------------- UF2 -------------//
|
64 |
| -#define UF2_PRODUCT_NAME "Adafruit Feather nRF52840 TFT" |
65 |
| -#define UF2_VOLUME_LABEL "FTHR840BOOT" |
66 |
| -#define UF2_BOARD_ID "nRF52840-FeatherTFT-revA" |
| 64 | +#define UF2_PRODUCT_NAME "Adafruit Feather nRF52840 Sense TFT" |
| 65 | +#define UF2_VOLUME_LABEL "FTHRSNSBOOT" |
| 66 | +#define UF2_BOARD_ID "nRF52840-FeatherSenseTFT-revA" |
67 | 67 | #define UF2_INDEX_URL "https://www.adafruit.com/product/"
|
68 | 68 |
|
69 | 69 | #endif
|
0 commit comments