You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have such a problem as you can see on debug, the initialization comes to LV init, error and reset. Maybe someone can help? I added to the file LGFX_T190.h, DisplayDriverConfig.h and DisplayDriverFactory.cpp here it is ok, but init LV is not.
Hello, I have such a problem as you can see on debug, the initialization comes to LV init, error and reset. Maybe someone can help? I added to the file LGFX_T190.h, DisplayDriverConfig.h and DisplayDriverFactory.cpp here it is ok, but init LV is not.
`
�[0m�[34mDEBUG �[0m| ??:??:?? 7 �[34m[DeviceUI] LGFX init...
�[0m�[34mDEBUG �[0m| ??:??:?? 7 �[34m[DeviceUI] DisplayDriver init...
�[0m�[34mDEBUG �[0m| ??:??:?? 7 �[34m[DeviceUI] LV init...
�[0m���@��[32mINFO �[0m| ??:??:?? 1 �[32m
//\ E S H T /\ S T / C
�[0m�[32mINFO �[0m| ??:??:?? 1 �[32mBooted, wake cause 0 (boot count 1), reset_reason=reset
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mFilesystem files (16384/1572864 Bytes):
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34m /prefs/channels.proto (57 Bytes)
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34m /prefs/config.proto (166 Bytes)
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34m /prefs/db.proto (471 Bytes)
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mPower::lipoInit lipo sensor is not ready yet
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mUse analog input 6 for battery level
�[0m�[32mINFO �[0m| ??:??:?? 1 �[32mADC config based on Two Point values and fitting curve coefficients stored in eFuse
�[0m�[32mINFO �[0m| ??:??:?? 1 �[32mScan for i2c devices
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mScan for I2C devices on port 1
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mI2C device found at address 0x20
�[0m�[32mINFO �[0m| ??:??:?? 1 �[32mDevice found at address 0x20 was not able to be enumerated
�[0m�[32mINFO �[0m| ??:??:?? 1 �[32mNo I2C devices found
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34macc_info = 0
�[0m�[32mINFO �[0m| ??:??:?? 1 �[32mS:B:66,2.5.12.8eb8c677
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mTotal heap: 284000
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mFree heap: 242232
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mTotal PSRAM: 0
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mFree PSRAM: 0
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mNVS: UsedEntries 10, FreeEntries 620, AllEntries 630, NameSpaces 2
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mSetup Preferences in Flash Storage
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mNumber of Device Reboots: 12
�[0m�[32mINFO �[0m| ??:??:?? 1 �[32mNo OTA firmware available
�[0m�[34mDEBUG �[0m| ??:??:?? 1 �[34mSwitch RTC Source to 32.768Khz succeeded, using 32K XTAL
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mInit NodeDB
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoad /prefs/db.proto
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoaded /prefs/db.proto successfully
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoaded saved devicestate version 23, with nodecount: 1
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoad /prefs/config.proto
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoaded /prefs/config.proto successfully
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoaded saved config version 23
�[0m�[31mERROR �[0m| ??:??:?? 2 �[31mCould not open / read /prefs/module.proto
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mInstall default ModuleConfig
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoad /prefs/channels.proto
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoaded /prefs/channels.proto successfully
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mLoaded saved channelFile version 23
�[0m�[31mERROR �[0m| ??:??:?? 2 �[31mCould not open / read /prefs/uiconfig.proto
�[0m�[34mDEBUG �[0m| ??:??:?? 2 �[34mcleanupMeshDB purged 0 entries
�[0m�[34mDEBUG �[0m| ??:??:?? 2 �[34mUse nodenum 0x9e3b2098
�[0m�[34mDEBUG �[0m| ??:??:?? 2 �[34mNumber of Device Reboots: 12
�[0m�[34mDEBUG �[0m| ??:??:?? 2 �[34mExpand short PSK #1
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mWanted region 0, using UNSET
�[0m�[34mDEBUG �[0m| ??:??:?? 2 �[34mCoerce telemetry to min of 30 minutes on defaults
�[0m�[32mINFO �[0m| ??:??:?? 2 �[32mSave /prefs/db.proto
�[0m�[34mDEBUG �[0m| ??:??:?? 2 �[34mUse GPIO00 for button
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34mSPI.begin(SCK=9, MISO=11, MOSI=10, NSS=8)
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] DeviceScreen::init()...
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] TFTView_320x240 init...
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] TFTView_320x240 db size: 3184
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] ### Images size in flash ###
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] meshtastic_boot_logo_image: 2600
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] settings_button_image: 4096
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] map_button_image: 4096
...
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] lock_channel_image: 1728
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] lock_secure_image: 1728
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] ================================
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] ### Total size: 429054 bytes ###
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] Display driver init...
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] LGFXDriver::init...
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] LGFX init...
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] DisplayDriver init...
�[0m�[34mDEBUG �[0m| ??:??:?? 3 �[34m[DeviceUI] LV init...
�[0m���@��[32mINFO �[0m| ??:??:?? 1 �[32m
//\ E S H T /\ S T / C
�[0m�[32mINFO �[0m| ??:??:?? 1 �[32mBooted, wake cause 0 (boot count 1), reset_reason=reset
`
I have edited a platformio.ini file
`
;HELTEC_VISION_MASTER_T190
[env:heltec-vision-master-t190]
extends = esp32s3_base
board_check = true
upload_protocol = esptool
board = heltec_vision_master_t190
board_build.partitions = default_8MB.csv ; just for tes
build_flags = ${esp32_base.build_flags}
-DHELTEC_VISION_MASTER_T190
-D CONFIG_DISABLE_HAL_LOCKS=1 ; "feels" to be a bit more stable without locks
; -D MESHTASTIC_EXCLUDE_CANNEDMESSAGES=1
; -D MESHTASTIC_EXCLUDE_INPUTBROKER=1
-D MESHTASTIC_EXCLUDE_BLUETOOTH=1
-D MESHTASTIC_EXCLUDE_WEBSERVER=1
; -D INPUTDRIVER_I2C_KBD_TYPE=0x55
; -D INPUTDRIVER_ENCODER_TYPE=3
; -D INPUTDRIVER_ENCODER_LEFT=1 ; disabled because it's used by I2S audio
; -D INPUTDRIVER_ENCODER_RIGHT=2
; -D INPUTDRIVER_ENCODER_UP=3
; -D INPUTDRIVER_ENCODER_DOWN=15
-D USE_PIN_BUZZER=PIN_BUZZER
-D MAX_NUM_NODES=150
-D MAX_THREADS=40
-D HAS_SCREEN=0
-D HAS_TFT=1
; -D USE_I2S_BUZZER
-D RAM_SIZE=1024
-D GPS_POWER_TOGGLE
-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 LV_BUILD_TEST=0
-D USE_LOG_DEBUG
-D LOG_DEBUG_INC="DebugConfiguration.h"
-D RADIOLIB_SPI_PARANOID=0
; -D CUSTOM_TOUCH_DRIVER
; -D CALIBRATE_TOUCH=0
-D LGFX_DRIVER=LGFX_T190
; -D LVGL_DRIVER=LVGL_TDECK
; -D LV_USE_ST7789=1
-D VIEW_320x240
; -D USE_DOUBLE_BUFFER
-D USE_PACKET_API
-I lib/device-ui/generated/ui_320x240
-Ivariants/heltec-vision-master-t190
build_src_filter = ${esp32_base.build_src_filter}
+<../lib/device-ui/generated/ui_320x240>
+<../lib/device-ui/resources>
+<../lib/device-ui/locale>
+<../lib/device-ui/source>
lib_deps = ${esp32_base.lib_deps}
lovyan03/LovyanGFX@^1.1.16
upload_speed = 921600
`
and added also to DisplyDriverConfig.h
...
INDICATOR,
BPICOMPUTER_S3,
T190,
TWATCH_S3,
UNPHONE_V9,
...
DisplayDriverFactory.cpp
...
#ifdef PICOMPUTER_S3
#include "LGFX_PICOMPUTER_S3.h"
#endif
#ifdef HELTEC_VISION_MASTER_T190
#include "LGFX_T190.h"
#endif
#ifdef T_WATCH_S3
#include "LGFX_T_WATCH_S3.h"
#endif
...
and
...
#elif defined(PICOMPUTER_S3)
case DisplayDriverConfig::device_t::BPICOMPUTER_S3:
return new LGFXDriver<LGFX_PICOMPUTER_S3>(cfg.width(), cfg.height());
break;
#elif defined(HELTEC_VISION_MASTER_T190)
case DisplayDriverConfig::device_t::T190:
return new LGFXDriver<LGFX_T190>(cfg.width(), cfg.height());
break;
#elif defined(TWATCH_S3)
...
The text was updated successfully, but these errors were encountered: