diff --git a/boards.txt b/boards.txt index 30fece90..6ed2c3d4 100644 --- a/boards.txt +++ b/boards.txt @@ -40,6 +40,8 @@ feather52832.build.f_cpu=64000000 feather52832.build.board=NRF52832_FEATHER feather52832.build.core=nRF5 feather52832.build.variant=feather_nrf52832 +feather52840.build.usb_manufacturer="Adafruit LLC" +feather52840.build.usb_product="Feather nRF52832" feather52832.build.extra_flags=-DNRF52832_XXAA -DNRF52 feather52832.build.ldscript=nrf52832_s132_v6.ld diff --git a/libraries/Bluefruit52Lib/examples/Peripheral/image_transfer/image_transfer.ino b/libraries/Bluefruit52Lib/examples/Peripheral/image_transfer/image_transfer.ino index 6750f9e1..3ac9ee6a 100644 --- a/libraries/Bluefruit52Lib/examples/Peripheral/image_transfer/image_transfer.ino +++ b/libraries/Bluefruit52Lib/examples/Peripheral/image_transfer/image_transfer.ino @@ -26,17 +26,21 @@ #if defined(ARDUINO_NRF52840_CIRCUITPLAY) // Circuit Playground Bluefruit use with TFT GIZMO - #define TFT_BACKLIGHT A3 + #define DEVICE_NAME "CPLAY" #include "Adafruit_ST7789.h" Adafruit_ST7789 tft = Adafruit_ST7789(&SPI, 0, 1, -1); // CS = 0, DC = 1 #elif defined(ARDUINO_NRF52840_CLUE) + #define DEVICE_NAME "CLUE" + // CLUE use on-board TFT #include "Adafruit_ST7789.h" Adafruit_ST7789 tft = Adafruit_ST7789(&SPI1, PIN_TFT_CS, PIN_TFT_DC, PIN_TFT_RST); #else + #define DEVICE_NAME "Feather" + #define TFT_35_FEATHERWING 1 #define TFT_24_FEATHERWING 2