Plain RAK4631 should not compile EInk and TFT display code (#8811)

* Plain RAK4631 should not compile EInk and TFT display code

* Add USE_TFTDISPLAY to variant files.

* Derp

* Undo the platformio.ini changes to heltec_v4

* Drop unneeded src_filter lines

---------

Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
Co-authored-by: Jason P <applewiz@mac.com>
This commit is contained in:
Ben Meadors
2025-12-01 19:19:50 -06:00
committed by GitHub
parent 03600b1252
commit 859ae4d3d2
24 changed files with 59 additions and 9 deletions

View File

@@ -10,6 +10,7 @@
#define HAS_SCREEN 1
#define TFT_BLACK 0
#define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness
#define USE_TFTDISPLAY 1
#define USE_POWERSAVE
#define SLEEP_TIME 120

View File

@@ -34,6 +34,9 @@
#define LORA_PA_EN 2
#define LORA_PA_TX_EN 46 // enable tx
#if HAS_TFT
#define USE_TFTDISPLAY 1
#endif
/*
* GPS pins
*/

View File

@@ -27,6 +27,7 @@
#define TFT_OFFSET_Y -1
#define SCREEN_TRANSITION_FRAMERATE 3 // fps
#define DISPLAY_FORCE_SMALL_FONTS
#define USE_TFTDISPLAY 1
// pin 3 is Vext on v1.1 - HIGH enables LDO for Vext rail which goes to:
// GPS UC6580: GPS V_DET(8), VDD_IO(7), DCDC_IN(21), pulls up RESETN(17), D_SEL(33) and BOOT_MODE(34) through 10kR

View File

@@ -28,6 +28,7 @@
#define SCREEN_TRANSITION_FRAMERATE 3 // fps
#define DISPLAY_FORCE_SMALL_FONTS
#define FORCE_LOW_RES 1
#define USE_TFTDISPLAY 1
#define VEXT_ENABLE Vext // active low, powers the oled display and the lora antenna boost
#define VEXT_ON_VALUE LOW

View File

@@ -27,6 +27,7 @@
#define TFT_INVERT false
#define SCREEN_TRANSITION_FRAMERATE 3 // fps
#define DISPLAY_FORCE_SMALL_FONTS
#define USE_TFTDISPLAY 1
#define VEXT_ENABLE 3 // active HIGH - powers the GPS, GPS LNA and OLED
#define VEXT_ON_VALUE HIGH

View File

@@ -32,6 +32,7 @@
#define ST7789_CS 6
#define ST7789_RS 1
#define ST7789_BL 5
#define USE_TFTDISPLAY 1
#define ST7789_RESET -1
#define ST7789_MISO -1

View File

@@ -37,6 +37,7 @@
#define TFT_BL 45
#define SCREEN_ROTATE
#define SCREEN_TRANSITION_FRAMERATE 5 // fps
#define USE_TFTDISPLAY 1
#define HAS_TOUCHSCREEN 1
#define SCREEN_TOUCH_INT (6 | IO_EXPANDER)

View File

@@ -22,6 +22,7 @@
#define SCREEN_ROTATE
#define SCREEN_TRANSITION_FRAMERATE 5
#define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness
#define USE_TFTDISPLAY 1
#define HAS_TOUCHSCREEN 1
#define SCREEN_TOUCH_INT 16

View File

@@ -18,6 +18,7 @@
#define TFT_OFFSET_ROTATION 2
#define SCREEN_ROTATE
#define SCREEN_TRANSITION_FRAMERATE 5 // fps
#define USE_TFTDISPLAY 1
#define HAS_TOUCHSCREEN 1
#define SCREEN_TOUCH_INT 16

View File

@@ -20,6 +20,7 @@
#define SCREEN_ROTATE
#define SCREEN_TRANSITION_FRAMERATE 5
#define BRIGHTNESS_DEFAULT 130 // Medium Low Brightness
#define USE_TFTDISPLAY 1
#define I2C_SDA SDA
#define I2C_SCL SCL

View File

@@ -28,6 +28,7 @@
#define TFT_OFFSET_Y -1
#define SCREEN_TRANSITION_FRAMERATE 3 // fps
#define DISPLAY_FORCE_SMALL_FONTS
#define USE_TFTDISPLAY 1
#define VEXT_ENABLE 3 // active HIGH, powers the lora antenna boost
#define VEXT_ON_VALUE HIGH

View File

@@ -16,6 +16,7 @@
#define ST7789_CS 38
#define ST7789_RS 40
#define ST7789_BL 21
#define USE_TFTDISPLAY 1
// P#define TFT_BL 21 /* V1.1 PCB marking */
#define ST7789_RESET -1

View File

@@ -36,6 +36,7 @@
#define TFT_INVERT false
#define SCREEN_ROTATE true
#define SCREEN_TRANSITION_FRAMERATE 5
#define USE_TFTDISPLAY 1
#define HAS_TOUCHSCREEN 1
#define USE_XPT2046 1