rename to feather sense tft
This commit is contained in:
parent
eaaf5f8e84
commit
e81391f395
5 changed files with 10 additions and 10 deletions
2
.github/workflows/githubci.yml
vendored
2
.github/workflows/githubci.yml
vendored
|
|
@ -21,8 +21,8 @@ jobs:
|
||||||
- 'feather_nrf52832'
|
- 'feather_nrf52832'
|
||||||
- 'feather_nrf52833_express'
|
- 'feather_nrf52833_express'
|
||||||
- 'feather_nrf52840_express'
|
- 'feather_nrf52840_express'
|
||||||
- 'feather_nrf52840_tft'
|
|
||||||
- 'feather_nrf52840_sense'
|
- 'feather_nrf52840_sense'
|
||||||
|
- 'feather_nrf52840_sense_tft'
|
||||||
- 'itsybitsy_nrf52840_express'
|
- 'itsybitsy_nrf52840_express'
|
||||||
- 'metro_nrf52840_express'
|
- 'metro_nrf52840_express'
|
||||||
- 'ledglasses_nrf52840'
|
- 'ledglasses_nrf52840'
|
||||||
|
|
|
||||||
|
|
@ -22,8 +22,8 @@
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _FEATHER_NRF52840_TFT_H
|
#ifndef _FEATHER_NRF52840_SENSE_TFT_H
|
||||||
#define _FEATHER_NRF52840_TFT_H
|
#define _FEATHER_NRF52840_SENSE_TFT_H
|
||||||
|
|
||||||
#define _PINNUM(port, pin) ((port)*32 + (pin))
|
#define _PINNUM(port, pin) ((port)*32 + (pin))
|
||||||
|
|
||||||
|
|
@ -44,26 +44,26 @@
|
||||||
*------------------------------------------------------------------*/
|
*------------------------------------------------------------------*/
|
||||||
#define BUTTONS_NUMBER 2
|
#define BUTTONS_NUMBER 2
|
||||||
#define BUTTON_1 _PINNUM(1, 6)
|
#define BUTTON_1 _PINNUM(1, 6)
|
||||||
#define BUTTON_2 _PINNUM(1, 4) // not connected
|
#define BUTTON_2 _PINNUM(1, 10) // DFU pin
|
||||||
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
|
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// BLE OTA
|
// BLE OTA
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
#define BLEDIS_MANUFACTURER "Adafruit Industries"
|
#define BLEDIS_MANUFACTURER "Adafruit Industries"
|
||||||
#define BLEDIS_MODEL "Feather nRF52840 TFT"
|
#define BLEDIS_MODEL "Feather nRF52840 Sense TFT"
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// USB
|
// USB
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
#define USB_DESC_VID 0x239A
|
#define USB_DESC_VID 0x239A
|
||||||
#define USB_DESC_UF2_PID 0x0029
|
#define USB_DESC_UF2_PID 0x0087
|
||||||
#define USB_DESC_CDC_ONLY_PID 0x002A
|
#define USB_DESC_CDC_ONLY_PID 0x0088
|
||||||
|
|
||||||
//------------- UF2 -------------//
|
//------------- UF2 -------------//
|
||||||
#define UF2_PRODUCT_NAME "Adafruit Feather nRF52840 TFT"
|
#define UF2_PRODUCT_NAME "Adafruit Feather nRF52840 Sense TFT"
|
||||||
#define UF2_VOLUME_LABEL "FTHR840BOOT"
|
#define UF2_VOLUME_LABEL "FTHRSNSBOOT"
|
||||||
#define UF2_BOARD_ID "nRF52840-FeatherTFT-revA"
|
#define UF2_BOARD_ID "nRF52840-FeatherSenseTFT-revA"
|
||||||
#define UF2_INDEX_URL "https://www.adafruit.com/product/"
|
#define UF2_INDEX_URL "https://www.adafruit.com/product/"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Loading…
Reference in a new issue