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:
co-authored by
Jonathan Bennett
Jason P
parent
03600b1252
commit
859ae4d3d2
@@ -8,9 +8,7 @@ build_type = release
|
||||
build_flags = ${nrf52840_base.build_flags}
|
||||
-I variants/nrf52840/rak4631
|
||||
-D RAK_4631
|
||||
-DEINK_DISPLAY_MODEL=GxEPD2_213_BN
|
||||
-DEINK_WIDTH=250
|
||||
-DEINK_HEIGHT=122
|
||||
-DMESHTASTIC_USE_EINK_UI=0
|
||||
-DRADIOLIB_EXCLUDE_SX128X=1
|
||||
-DRADIOLIB_EXCLUDE_SX127X=1
|
||||
-DRADIOLIB_EXCLUDE_LR11X0=1
|
||||
@@ -30,7 +28,10 @@ build_src_filter = ${nrf52_base.build_src_filter} \
|
||||
+<../variants/nrf52840/rak4631> \
|
||||
+<mesh/eth/> \
|
||||
+<mesh/api/> \
|
||||
+<mqtt/>
|
||||
+<mqtt/> \
|
||||
-<graphics/EInkDisplay2.cpp> \
|
||||
-<graphics/EInkDynamicDisplay.cpp> \
|
||||
-<graphics/fonts/EinkDisplayFonts.cpp>
|
||||
lib_deps =
|
||||
${nrf52840_base.lib_deps}
|
||||
${nrf52_networking_base.lib_deps}
|
||||
|
||||
@@ -300,6 +300,7 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG
|
||||
#define SPI_FREQUENCY 50000000
|
||||
#define TFT_SPI_PORT SPI1
|
||||
#define ST7789_CS WB_SPI_CS // Adds compatibility with the rest of the checking for a ST7789 TFT.
|
||||
#define USE_TFTDISPLAY 1
|
||||
|
||||
#define SCREEN_ROTATE
|
||||
#define SCREEN_TRANSITION_FRAMERATE 5
|
||||
|
||||
Reference in New Issue
Block a user