Skip to content

Commit 7d7c77c

Browse files
committed
Add new boards
1 parent 89e08ca commit 7d7c77c

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

src/boardSelect.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,23 @@
1616
#include <Arduino.h>
1717

1818
#ifdef ARDUINO_INKPLATE10V2
19+
#define MULTIPLE_DISPLAY_MODES
1920
#include "boards/Inkplate10/Inkplate10BoardFile.h"
2021
#elif defined(ARDUINO_INKPLATE6V2)
22+
#define USES_I2S
23+
#define MULTIPLE_DISPLAY_MODES
2124
#include "boards/Inkplate6/Inkplate6BoardFile.h"
2225
#elif defined(ARDUINO_INKPLATE5V2)
26+
#define MULTIPLE_DISPLAY_MODES
27+
#define USES_I2S
2328
#include "boards/Inkplate5V2/Inkplate5V2BoardFile.h"
29+
#elif defined(ARDUINO_INKPLATE6FLICK)
30+
#define USES_I2S
31+
#define MULTIPLE_DISPLAY_MODES
32+
#include "boards/Inkplate6FLICK/Inkplate6FLICKBoardFile.h"
33+
#elif defined(ARDUINO_INKPLATECOLOR)
34+
#define USE_COLOR_IMAGE
35+
#include "boards/Inkplate6COLOR/Inkplate6COLORBoardFile.h"
2436
#else
2537
#error "Board not selected!"
2638
#endif

src/features/featureSelect.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
#ifdef ARDUINO_INKPLATE10V2
55
#include "SdFat/SdFat.h"
66
#include "rtc/rtc.h"
7-
#elif defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2)
7+
#elif defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE5V2) || defined(ARDUINO_INKPLATECOLOR)
88
#include "SdFat/SdFat.h"
99
#include "rtc/rtc.h"
10+
#elif defined(ARDUINO_INKPLATE6FLICK)
11+
#include "SdFat/SdFat.h"
12+
#include "rtc/rtc.h"
13+
#include "touchscreen/touchCypress/TouchCypress.h"
14+
#include "frontlight/Frontlight.h"
1015
#endif
1116
#endif

src/system/InkplateBoards.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,9 @@
2121
#include "../boards/Inkplate6/Inkplate6Driver.h"
2222
#elif defined(ARDUINO_INKPLATE5V2)
2323
#include "../boards/Inkplate5V2/Inkplate5V2Driver.h"
24+
#elif defined(ARDUINO_INKPLATE6FLICK)
25+
#include "boards/Inkplate6FLICK/Inkplate6FLICKDriver.h"
26+
#elif defined(ARDUINO_INKPLATECOLOR)
27+
#include "boards/Inkplate6COLOR/Inkplate6COLORDriver.h"
2428
#endif
2529
#endif

0 commit comments

Comments
 (0)