mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-18 08:12:57 +00:00
Synch unphone platformio.in with TFT branch.
This commit is contained in:
parent
ae73437a2f
commit
f6202b2f05
@ -1,18 +1,14 @@
|
|||||||
; platformio.ini for unphone meshtastic
|
; platformio.ini for unphone meshtastic
|
||||||
|
|
||||||
[env:unphone]
|
[env:unphone]
|
||||||
|
|
||||||
extends = esp32s3_base
|
extends = esp32s3_base
|
||||||
board = unphone9
|
board = unphone
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
monitor_filters = esp32_exception_decoder
|
monitor_filters = esp32_exception_decoder
|
||||||
|
|
||||||
build_unflags =
|
build_flags =
|
||||||
${esp32s3_base.build_unflags}
|
${esp32s3_base.build_flags}
|
||||||
-D ARDUINO_USB_MODE
|
|
||||||
|
|
||||||
build_flags = ${esp32_base.build_flags}
|
|
||||||
-D UNPHONE
|
-D UNPHONE
|
||||||
-I variants/unphone
|
-I variants/unphone
|
||||||
-D ARDUINO_USB_MODE=0
|
-D ARDUINO_USB_MODE=0
|
||||||
@ -22,8 +18,11 @@ build_flags = ${esp32_base.build_flags}
|
|||||||
-D UNPHONE_UI0=0
|
-D UNPHONE_UI0=0
|
||||||
-D UNPHONE_LORA=0
|
-D UNPHONE_LORA=0
|
||||||
-D UNPHONE_FACTORY_MODE=0
|
-D UNPHONE_FACTORY_MODE=0
|
||||||
|
-D USE_SX127x
|
||||||
|
|
||||||
build_src_filter = ${esp32_base.build_src_filter} +<../variants/unphone>
|
build_src_filter =
|
||||||
|
${esp32s3_base.build_src_filter}
|
||||||
|
+<../variants/unphone>
|
||||||
|
|
||||||
lib_deps = ${esp32s3_base.lib_deps}
|
lib_deps = ${esp32s3_base.lib_deps}
|
||||||
lovyan03/LovyanGFX@ 1.2.0
|
lovyan03/LovyanGFX@ 1.2.0
|
||||||
@ -32,46 +31,44 @@ lib_deps = ${esp32s3_base.lib_deps}
|
|||||||
|
|
||||||
|
|
||||||
[env:unphone-tft]
|
[env:unphone-tft]
|
||||||
extends = esp32s3_base
|
extends = env:unphone
|
||||||
board_level = extra
|
board_level = extra
|
||||||
board = unphone
|
|
||||||
board_build.partitions = default_8MB.csv
|
board_build.partitions = default_8MB.csv
|
||||||
monitor_speed = 115200
|
build_flags =
|
||||||
monitor_filters = esp32_exception_decoder
|
${env:unphone.build_flags}
|
||||||
build_flags = ${esp32_base.build_flags}
|
-D MESHTASTIC_EXCLUDE_CANNEDMESSAGES=1
|
||||||
-D UNPHONE
|
-D MESHTASTIC_EXCLUDE_INPUTBROKER=1
|
||||||
-D UNPHONE_ACCEL=0
|
-D MESHTASTIC_EXCLUDE_BLUETOOTH=1
|
||||||
-D UNPHONE_TOUCHS=0
|
-D MESHTASTIC_EXCLUDE_WEBSERVER=1
|
||||||
-D UNPHONE_SDCARD=0
|
-D MESHTASTIC_EXCLUDE_SERIAL=1
|
||||||
-D UNPHONE_UI0=0
|
-D MESHTASTIC_EXCLUDE_SOCKETAPI=1
|
||||||
-D UNPHONE_LORA=0
|
-D INPUTDRIVER_BUTTON_TYPE=21
|
||||||
-D UNPHONE_FACTORY_MODE=0
|
-D MAX_NUM_NODES=200
|
||||||
-D MAX_THREADS=40
|
-D MAX_THREADS=40
|
||||||
-D HAS_SCREEN=0
|
-D HAS_SCREEN=0
|
||||||
-D HAS_TFT=1
|
-D HAS_TFT=1
|
||||||
-D RAM_SIZE=512
|
-D DISPLAY_SET_RESOLUTION
|
||||||
|
-D RAM_SIZE=1024
|
||||||
-D LV_LVGL_H_INCLUDE_SIMPLE
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
-D LV_CONF_INCLUDE_SIMPLE
|
-D LV_CONF_INCLUDE_SIMPLE
|
||||||
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
||||||
-D LV_BUILD_TEST=0
|
-D LV_BUILD_TEST=0
|
||||||
|
-D LV_USE_SYSMON=0
|
||||||
|
-D LV_USE_PROFILER=0
|
||||||
-D LV_USE_PERF_MONITOR=0
|
-D LV_USE_PERF_MONITOR=0
|
||||||
-D LV_USE_MEM_MONITOR=0
|
-D LV_USE_MEM_MONITOR=0
|
||||||
|
-D LV_USE_LOG=0
|
||||||
-D USE_LOG_DEBUG
|
-D USE_LOG_DEBUG
|
||||||
-D LOG_DEBUG_INC=\"DebugConfiguration.h\"
|
-D LOG_DEBUG_INC=\"DebugConfiguration.h\"
|
||||||
; -D CALIBRATE_TOUCH=0
|
|
||||||
-D LGFX_DRIVER=LGFX_UNPHONE_V9
|
-D LGFX_DRIVER=LGFX_UNPHONE_V9
|
||||||
|
-D GFX_DRIVER_INC=\"graphics/LGFX/LGFX_UNPHONE.h\"
|
||||||
-D VIEW_320x240
|
-D VIEW_320x240
|
||||||
; -D USE_DOUBLE_BUFFER
|
|
||||||
-D USE_PACKET_API
|
-D USE_PACKET_API
|
||||||
-I lib/device-ui/generated/ui_320x240
|
-I lib/device-ui/generated/ui_320x240
|
||||||
-I variants/unphone
|
|
||||||
|
|
||||||
build_src_filter = ${esp32_base.build_src_filter} +<../variants/unphone>
|
build_src_filter =
|
||||||
|
${env:unphone.build_src_filter}
|
||||||
+<../lib/device-ui/generated/ui_320x240>
|
+<../lib/device-ui/generated/ui_320x240>
|
||||||
+<../lib/device-ui/resources>
|
+<../lib/device-ui/resources>
|
||||||
|
+<../lib/device-ui/locale>
|
||||||
+<../lib/device-ui/source>
|
+<../lib/device-ui/source>
|
||||||
|
|
||||||
lib_deps = ${esp32s3_base.lib_deps}
|
|
||||||
lovyan03/LovyanGFX@^1.2.0
|
|
||||||
https://gitlab.com/hamishcunningham/unphonelibrary#meshtastic@9.0.0
|
|
||||||
adafruit/Adafruit NeoPixel@1.12.0
|
|
||||||
|
Loading…
Reference in New Issue
Block a user