mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-19 18:05:05 +00:00
Board updates
This commit is contained in:
parent
fa3592d9cc
commit
8f2a91edfb
@ -11,6 +11,7 @@ spiRamMode=OCT
|
||||
spiRamSpeed=120M
|
||||
tinyUsb=false
|
||||
esptoolFlashFreq=120M
|
||||
fixRgbDisplayGlitch=true
|
||||
|
||||
[display]
|
||||
size=2.4"
|
||||
|
||||
@ -10,6 +10,7 @@ spiRam=true
|
||||
spiRamMode=OCT
|
||||
spiRamSpeed=80M
|
||||
tinyUsb=false
|
||||
fixRgbDisplayGlitch=true
|
||||
|
||||
[display]
|
||||
size=4"
|
||||
@ -24,7 +25,7 @@ warningMessage=
|
||||
theme=DefaultDark
|
||||
colorDepth=16
|
||||
|
||||
# Fixes glitches in the display driverf when rendering new screens/apps
|
||||
# Fixes glitches in the display driver when rendering new screens/apps
|
||||
[sdkconfig]
|
||||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
|
||||
CONFIG_SPIRAM_RODATA=y
|
||||
|
||||
@ -10,6 +10,7 @@ spiRam=true
|
||||
spiRamMode=OCT
|
||||
spiRamSpeed=80M
|
||||
tinyUsb=false
|
||||
fixRgbDisplayGlitch=true
|
||||
|
||||
[display]
|
||||
size=4.3"
|
||||
|
||||
@ -32,6 +32,10 @@
|
||||
- Support direct installation of an `.app` file with `tactility.py install helloworld.app <ip>`
|
||||
- Support `tactility.py target <ip>` to remember the device IP address.
|
||||
- minitar/untarFile(): "entry->metadata.path" can escape its confined path (e.g. "../something")
|
||||
- Consider these defaults when PSRAM is present:
|
||||
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
|
||||
CONFIG_SPIRAM_RODATA=y
|
||||
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
|
||||
|
||||
## Medium Priority
|
||||
|
||||
|
||||
@ -130,7 +130,7 @@ def write_spiram_variables(output_file, device_properties: ConfigParser):
|
||||
output_file.write("CONFIG_SPIRAM=y\n")
|
||||
mode = get_property_or_exit(device_properties, "hardware", "spiRamMode")
|
||||
# Mode
|
||||
if mode is not "AUTO":
|
||||
if mode != "AUTO":
|
||||
output_file.write(f"CONFIG_SPIRAM_MODE_{mode}=y\n")
|
||||
else:
|
||||
output_file.write("CONFIG_SPIRAM_TYPE_AUTO=y\n")
|
||||
@ -185,6 +185,12 @@ def write_custom_sdkconfig(output_file, device_properties: ConfigParser):
|
||||
value = section[key].replace("\"", "\\\"")
|
||||
output_file.write(f"{key.upper()}={value}\n")
|
||||
|
||||
def write_rgb_display_glitch_fix(output_file, device_properties: ConfigParser):
|
||||
enabled = get_boolean_property_or_false(device_properties, "hardware", "fixRgbDisplayGlitch")
|
||||
if enabled:
|
||||
output_file.write("# Fixes glitches in the display driver when rendering new screens/apps\n")
|
||||
output_file.write("CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y\n")
|
||||
|
||||
def write_properties(output_file, device_properties: ConfigParser, device_id: str):
|
||||
write_defaults(output_file)
|
||||
output_file.write("\n\n# Hardware: Main\n")
|
||||
@ -197,6 +203,7 @@ def write_properties(output_file, device_properties: ConfigParser, device_id: st
|
||||
write_iram_fix(output_file, device_properties)
|
||||
write_usb_variables(output_file, device_properties)
|
||||
write_custom_sdkconfig(output_file, device_properties)
|
||||
write_rgb_display_glitch_fix(output_file, device_properties)
|
||||
|
||||
def main(device_id: str):
|
||||
devices = list_devices()
|
||||
|
||||
@ -57,3 +57,5 @@ CONFIG_LV_DPI_DEF=139
|
||||
CONFIG_LV_COLOR_DEPTH=16
|
||||
CONFIG_LV_COLOR_DEPTH_16=y
|
||||
CONFIG_LV_THEME_DEFAULT_DARK=y
|
||||
# Fixes glitches in the display driver when rendering new screens/apps
|
||||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
|
||||
|
||||
@ -60,3 +60,5 @@ CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
|
||||
CONFIG_SPIRAM_RODATA=y
|
||||
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
|
||||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
|
||||
# Fixes glitches in the display driver when rendering new screens/apps
|
||||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
|
||||
|
||||
@ -56,3 +56,5 @@ CONFIG_LV_DPI_DEF=217
|
||||
CONFIG_LV_COLOR_DEPTH=16
|
||||
CONFIG_LV_COLOR_DEPTH_16=y
|
||||
CONFIG_LV_THEME_DEFAULT_DARK=y
|
||||
# Fixes glitches in the display driver when rendering new screens/apps
|
||||
CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y
|
||||
|
||||
@ -46,7 +46,7 @@ CONFIG_FLASHMODE_DIO=y
|
||||
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
|
||||
# Hardware: SPIRAM
|
||||
CONFIG_ESP32S3_SPIRAM_SUPPORT=y
|
||||
CONFIG_SPIRAM_MODE_AUTO=y
|
||||
CONFIG_SPIRAM_TYPE_AUTO=y
|
||||
CONFIG_SPIRAM_SPEED_120M=y
|
||||
CONFIG_SPIRAM_USE_MALLOC=y
|
||||
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user