Skip to content

Commit 5447d66

Browse files
committed
minor clean up
1 parent 0f41d3d commit 5447d66

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

boards.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ feather52832.build.f_cpu=64000000
4040
feather52832.build.board=NRF52832_FEATHER
4141
feather52832.build.core=nRF5
4242
feather52832.build.variant=feather_nrf52832
43+
feather52840.build.usb_manufacturer="Adafruit LLC"
44+
feather52840.build.usb_product="Feather nRF52832"
4345
feather52832.build.extra_flags=-DNRF52832_XXAA -DNRF52
4446
feather52832.build.ldscript=nrf52832_s132_v6.ld
4547

libraries/Bluefruit52Lib/examples/Peripheral/image_transfer/image_transfer.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,21 @@
2626

2727
#if defined(ARDUINO_NRF52840_CIRCUITPLAY)
2828
// Circuit Playground Bluefruit use with TFT GIZMO
29-
#define TFT_BACKLIGHT A3
29+
#define DEVICE_NAME "CPLAY"
3030

3131
#include "Adafruit_ST7789.h"
3232
Adafruit_ST7789 tft = Adafruit_ST7789(&SPI, 0, 1, -1); // CS = 0, DC = 1
3333

3434
#elif defined(ARDUINO_NRF52840_CLUE)
35+
#define DEVICE_NAME "CLUE"
36+
3537
// CLUE use on-board TFT
3638
#include "Adafruit_ST7789.h"
3739
Adafruit_ST7789 tft = Adafruit_ST7789(&SPI1, PIN_TFT_CS, PIN_TFT_DC, PIN_TFT_RST);
3840

3941
#else
42+
#define DEVICE_NAME "Feather"
43+
4044
#define TFT_35_FEATHERWING 1
4145
#define TFT_24_FEATHERWING 2
4246

0 commit comments

Comments
 (0)