mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-04 03:18:10 +10:00
* thinknode-m9 variant * move lora to SPI1 device * enable SDcard * use HSPI * BaseUI tft -> HSPI * buzzer, webdav lib * fix build issues * M9 default to MUI, no BT, short ringtone * add keyboard long-press config * update variant * add ThingNode-M9 GPS string * GPS 115200 baud * Basic BaseUI support * Fixup power detection * Compass and KB fixes for M9 * add timed Lock::lock() * add SD card * point device-ui to thinknode m9 draft branch * trunk fmt * fix FusionCompass * Fix t-deck-tft linker arg list overflow in CI * SDcard/lora fix: SPI1 must not be declared twice in arduino 3.x -> reuse SPI1 defined in FSCommon.cpp * update battery parameters * reinit SD card when updating; fix PSRAM size * update lib versions * fix wakeup on key press (KB_INT) * fix default nag_timeout for TFT/MUI devices with buzzer * increase PSRAM and SD freq * trunk fmt * update lovyanGFX 1.2.26 * update device-ui commit reference * fix screen definition * remove DONE; maybe a keyword or other used identifier * fixed CI error nag_timeout * fix prepareSleep initialization * trunk fmt * reduce SD SPI frequency * update device-ui * fix SDcard issue * stage * fix device-ui commit reference * fix device-ui commit * update device-ui commit (fixed keyboard lag) * fix QMI8658 * trunk fmt * update .ini meta information, align SD freq * fix device-ui reference to target (ready to merge) * device-ui for all other targets * make the rabbit happy * trunk fmt * fixed lock screen * fix compile error * SPI lock timeout * apply device-ui fix * revert bad RadioLib commit hash in platformio.ini Co-authored-by: mverch67 <71137295+mverch67@users.noreply.github.com> * fix wrong commit hash change * fix fix commit fix * I love changing random numbers in random files --------- Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz> Co-authored-by: Ben Meadors <benmmeadors@gmail.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
99 lines
2.9 KiB
INI
99 lines
2.9 KiB
INI
; LilyGo T-Deck
|
|
[env:t-deck]
|
|
custom_meshtastic_hw_model = 50
|
|
custom_meshtastic_hw_model_slug = T_DECK
|
|
custom_meshtastic_architecture = esp32-s3
|
|
custom_meshtastic_actively_supported = true
|
|
custom_meshtastic_support_level = 1
|
|
custom_meshtastic_display_name = LILYGO T-Deck
|
|
custom_meshtastic_images = t-deck.svg
|
|
custom_meshtastic_tags = LilyGo
|
|
custom_meshtastic_requires_dfu = true
|
|
custom_meshtastic_partition_scheme = 16MB
|
|
custom_meshtastic_has_mui = true
|
|
|
|
extends = esp32s3_base
|
|
board_level = release
|
|
board = t-deck
|
|
board_build.partitions = default_16MB.csv
|
|
upload_protocol = esptool
|
|
|
|
build_src_filter =
|
|
${esp32s3_base.build_src_filter}
|
|
+<../variants/esp32s3/t-deck>
|
|
|
|
build_flags = ${esp32s3_base.build_flags}
|
|
-D T_DECK
|
|
-D BOARD_HAS_PSRAM
|
|
-I variants/esp32s3/t-deck
|
|
|
|
lib_deps = ${esp32s3_base.lib_deps}
|
|
# renovate: datasource=custom.pio depName=LovyanGFX packageName=lovyan03/library/LovyanGFX
|
|
lovyan03/LovyanGFX@1.2.26
|
|
# renovate: datasource=git-refs depName=ESP8266Audio packageName=https://github.com/meshtastic/ESP8266Audio gitBranch=meshtastic-2.0.0-dacfix
|
|
https://github.com/meshtastic/ESP8266Audio/archive/343024632ee78d6216907b2353fc943a62422d80.zip
|
|
# renovate: datasource=custom.pio depName=ESP8266SAM packageName=earlephilhower/library/ESP8266SAM
|
|
earlephilhower/ESP8266SAM@1.1.0
|
|
|
|
[env:t-deck-tft]
|
|
extends = env:t-deck
|
|
board_level = pr
|
|
|
|
extra_scripts =
|
|
${env:t-deck.extra_scripts}
|
|
extra_scripts/ld_response_file.py
|
|
|
|
build_flags =
|
|
${env:t-deck.build_flags}
|
|
-D CONFIG_DISABLE_HAL_LOCKS=1 ; "feels" to be a bit more stable without locks
|
|
-D INPUTDRIVER_I2C_KBD_TYPE=0x55
|
|
-D INPUTDRIVER_ENCODER_TYPE=3
|
|
-D INPUTDRIVER_ENCODER_LEFT=1
|
|
-D INPUTDRIVER_ENCODER_RIGHT=2
|
|
-D INPUTDRIVER_ENCODER_UP=3
|
|
-D INPUTDRIVER_ENCODER_DOWN=15
|
|
-D INPUTDRIVER_ENCODER_BTN=0
|
|
-D INPUTDRIVER_BUTTON_TYPE=0
|
|
-D HAS_SDCARD
|
|
-D HAS_SCREEN=1
|
|
-D HAS_TFT=1
|
|
-D USE_I2S_BUZZER
|
|
-D RAM_SIZE=5120
|
|
-D LV_LVGL_H_INCLUDE_SIMPLE
|
|
-D LV_CONF_INCLUDE_SIMPLE
|
|
-D LV_COMP_CONF_INCLUDE_SIMPLE
|
|
-D LV_USE_SYSMON=0
|
|
-D LV_USE_PROFILER=0
|
|
-D LV_USE_PERF_MONITOR=0
|
|
-D LV_USE_MEM_MONITOR=0
|
|
-D LV_USE_LOG=0
|
|
-D USE_LOG_DEBUG
|
|
-D LOG_DEBUG_INC=\"DebugConfiguration.h\"
|
|
-D RADIOLIB_DEBUG_BASIC=0
|
|
-D RADIOLIB_DEBUG_SPI=0
|
|
-D RADIOLIB_DEBUG_PROTOCOL=0
|
|
-D RADIOLIB_SPI_PARANOID=0
|
|
-D CALIBRATE_TOUCH=0
|
|
-D LGFX_SCREEN_WIDTH=240
|
|
-D LGFX_SCREEN_HEIGHT=320
|
|
-D LGFX_BUFSIZE=153600
|
|
-D DISPLAY_SIZE=320x240 ; landscape mode
|
|
-D LGFX_DRIVER=LGFX_TDECK
|
|
-D GFX_DRIVER_INC=\"graphics/LGFX/LGFX_T_DECK.h\"
|
|
; -D LVGL_DRIVER=LVGL_TDECK
|
|
; -D GFX_DRIVER_INC=\"graphics/LVGL/LVGL_T_DECK.h\"
|
|
; -D LV_USE_ST7789=1
|
|
-D VIEW_320x240
|
|
-D USE_PACKET_API
|
|
-D MAP_FULL_REDRAW
|
|
; -D CUSTOM_TOUCH_DRIVER
|
|
|
|
lib_deps =
|
|
${env:t-deck.lib_deps}
|
|
${device-ui_base.lib_deps}
|
|
;https://github.com/bitbank2/bb_captouch/archive/refs/tags/1.3.1.zip
|
|
|
|
custom_sdkconfig =
|
|
${esp32s3_base.custom_sdkconfig}
|
|
${device-ui_base.custom_sdkconfig}
|