mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-04 03:18:10 +10:00
* feat: T-Watch Ultra support * fix init touch controller * add framebuffer * update to device-ui * trunk fmt * update amoled driver reference * PMU cosmetics * power off lora * fix NodeDB defaults * trySetRTC when fixedPosition * haptic touch (only BaseUI) * init lora RF switch * update LovyanGFX 1.2.19 * earlyInitVariant() adaptations acc. #9438 * update device-ui / touch handling * Set NFC_CS disabled on boot * Get t-watch-ultra working better on BaseUI * Fix compilation * Fix flash reads on t-watch-ultra * Get baseui drawing to the screen correctly again on t-watch and add touch IRQ handling * Add PMU IRQ handling * Add IMU support * Change define to avoid collision * BaseUI changes to support t-watch-s3 rounded screen (#10786) * BaseUI changes to support t-watch-s3 rounded screen * Extend margin work to CannedMessages * Finish merge * Get audio working on watch-ultra * trunk fmt * added custom_meshtastic boilerplate * T-Echo-Plus: disable BHI260AP while assumingly not implemented * Drop the duplicate origBold declaration from the merge * Inset incoming message bubbles on rounded screens * Fix RTTTL tempo, WiFi screen margins, PMU guard and a duplicate define * fix compile errror (the 2nd time) * fix SDcard * fix/workaround CO5300 pixel flush to SPI * trunk fmt --------- Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz> Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
96 lines
3.0 KiB
INI
96 lines
3.0 KiB
INI
; LilyGo T-Watch S3
|
|
[env:t-watch-ultra]
|
|
custom_meshtastic_hw_model = 114
|
|
custom_meshtastic_hw_model_slug = T_WATCH_ULTRA
|
|
custom_meshtastic_architecture = esp32-s3
|
|
custom_meshtastic_actively_supported = true
|
|
custom_meshtastic_support_level = 1
|
|
custom_meshtastic_display_name = T-Watch Ultra
|
|
custom_meshtastic_images = t-watch-ultra.svg
|
|
custom_meshtastic_tags = LilyGo
|
|
custom_meshtastic_requires_dfu = false
|
|
custom_meshtastic_partition_scheme = 16MB
|
|
custom_meshtastic_has_mui = true
|
|
|
|
extends = esp32s3_base
|
|
board = t-watch-ultra
|
|
board_level = release
|
|
board_build.partitions = default_16MB.csv
|
|
upload_protocol = esptool
|
|
|
|
custom_sdkconfig =
|
|
${esp32s3_base.custom_sdkconfig}
|
|
; Keep esp_littlefs buffers in internal RAM (off the shared-bus PSRAM).
|
|
CONFIG_LITTLEFS_MALLOC_STRATEGY_INTERNAL=y
|
|
CONFIG_SPI_FLASH_SHARE_SPI1_BUS=y
|
|
|
|
build_flags = ${esp32_base.build_flags} -Ivariants/esp32s3/t-watch-ultra
|
|
; Route flash reads through the cache/mmap path (esp_partition_read_mmap_wrap.c)
|
|
; to dodge the IDF 5.5 manual-read regression on this board's flash.
|
|
-Wl,--wrap=esp_partition_read
|
|
-D T_WATCH_ULTRA
|
|
-D RADIOLIB_EXCLUDE_SX128X=1
|
|
-D RADIOLIB_EXCLUDE_SX127X=1
|
|
-D RADIOLIB_EXCLUDE_LR11X0=1
|
|
-UMESHTASTIC_EXCLUDE_ACCELEROMETER
|
|
-D HAS_SDCARD
|
|
-D SDCARD_USE_SPI1
|
|
-D SD_SPI_FREQUENCY=75000000
|
|
-D SPI_MISO=33
|
|
-D SPI_MOSI=34
|
|
-D SPI_SCK=35
|
|
-D SDCARD_CS=21
|
|
; -DHAS_BMA423=1
|
|
|
|
build_src_filter =
|
|
${esp32s3_base.build_src_filter}
|
|
+<../variants/esp32s3/t-watch-ultra>
|
|
|
|
lib_deps = ${esp32s3_base.lib_deps}
|
|
https://github.com/lovyan03/LovyanGFX/archive/tags/1.2.27.zip
|
|
adafruit/Adafruit DRV2605 Library@^1.2.4
|
|
# renovate: datasource=git-refs depName=ESP8266Audio packageName=https://github.com/meshtastic/ESP8266Audio gitBranch=meshtastic-2.0.0-dacfix
|
|
https://github.com/earlephilhower/ESP8266Audio/archive/05f2fb0045cc294b4e0d1a1a9747b89c22c1fea4.zip
|
|
# renovate: datasource=custom.pio depName=ESP8266SAM packageName=earlephilhower/library/ESP8266SAM
|
|
earlephilhower/ESP8266SAM@1.1.0
|
|
lewisxhe/SensorLib@0.3.1
|
|
|
|
[env:t-watch-ultra-tft]
|
|
board_level = extra
|
|
extends = env:t-watch-ultra
|
|
build_flags =
|
|
${env:t-watch-ultra.build_flags}
|
|
-D CONFIG_DISABLE_HAL_LOCKS=1
|
|
-D INPUTDRIVER_BUTTON_TYPE=0
|
|
-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_SPI_PARANOID=0
|
|
-D LGFX_SCREEN_WIDTH=410
|
|
-D LGFX_SCREEN_HEIGHT=502
|
|
-D LGFX_AMOLED_ROUNDER=1
|
|
-D LGFX_BUFSIZE=308732
|
|
-D DISPLAY_SIZE=410x502 ; portrait mode
|
|
-D DISPLAY_SET_RESOLUTION
|
|
-D LGFX_DRIVER=LGFX_TWATCH_ULTRA
|
|
-D GFX_DRIVER_INC=\"graphics/LGFX/LGFX_T_WATCH_ULTRA.h\"
|
|
; -D LVGL_DRIVER=LVGL_T_WATCH_ULTRA
|
|
-D VIEW_320x240
|
|
-D USE_PACKET_API
|
|
-D MAP_FULL_REDRAW
|
|
-D CUSTOM_TOUCH_DRIVER
|
|
|
|
lib_deps =
|
|
${env:t-watch-ultra.lib_deps}
|
|
${device-ui_base.lib_deps} |