Fixed XPT2046 syntax and using unPhone library to clean up support (#3631)

* Fixed XPT2046 syntax and using unPhone library to clean up main and TFTDisplay.

* strange extra edits removed wtf
This commit is contained in:
Gareth Coleman
2024-04-16 13:29:08 +01:00
committed by GitHub
parent 7d3175dc83
commit 3413b9da41
5 changed files with 57 additions and 41 deletions

View File

@@ -1,5 +1,7 @@
; platformio.ini for unphone meshtastic
[env:unphone]
;build_type = debug ; to make it possible to step through our jtag debugger
extends = esp32s3_base
board_level = extra
board = unphone9
@@ -14,6 +16,15 @@ build_flags = ${esp32_base.build_flags}
-D UNPHONE
-I variants/unphone
-D ARDUINO_USB_MODE=0
-D UNPHONE_ACCEL=0
-D UNPHONE_TOUCHS=0
-D UNPHONE_SDCARD=0
-D UNPHONE_UI0=0
-D UNPHONE_LORA=0
-D UNPHONE_FACTORY_MODE=0
build_src_filter = ${esp32_base.build_src_filter} +<../variants/unphone>
lib_deps = ${esp32s3_base.lib_deps}
lovyan03/LovyanGFX@^1.1.8
lovyan03/LovyanGFX @ ^1.1.8
https://gitlab.com/hamishcunningham/unphonelibrary#meshtastic @ ^9.0.0