mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 15:35:05 +00:00
Compare commits
2 Commits
65d3d55cc4
...
76686e5c90
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76686e5c90 | ||
|
|
cbaa32c27e |
@ -9,7 +9,6 @@ spiRam=true
|
||||
spiRamMode=OCT
|
||||
spiRamSpeed=120M
|
||||
esptoolFlashFreq=120M
|
||||
fixRgbDisplayGlitch=true
|
||||
|
||||
[display]
|
||||
size=2.4"
|
||||
|
||||
@ -8,7 +8,6 @@ flashSize=16MB
|
||||
spiRam=true
|
||||
spiRamMode=OCT
|
||||
spiRamSpeed=80M
|
||||
fixRgbDisplayGlitch=true
|
||||
|
||||
[display]
|
||||
size=4"
|
||||
|
||||
@ -9,7 +9,6 @@ flashSize=16MB
|
||||
spiRam=true
|
||||
spiRamMode=OCT
|
||||
spiRamSpeed=80M
|
||||
fixRgbDisplayGlitch=true
|
||||
esptoolFlashFreq=80M
|
||||
|
||||
[display]
|
||||
|
||||
@ -373,7 +373,12 @@ const esp_elfsym main_symbols[] {
|
||||
ESP_ELFSYM_EXPORT(lv_obj_get_y),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_get_content_width),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_get_content_height),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_get_group),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_get_user_data),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_get_state),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_has_flag),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_has_flag_any),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_has_state),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_invalidate),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_is_valid),
|
||||
ESP_ELFSYM_EXPORT(lv_obj_remove_event_cb),
|
||||
|
||||
@ -107,9 +107,9 @@ def write_tactility_variables(output_file, device_properties: ConfigParser, devi
|
||||
output_file.write(f"CONFIG_TT_DEVICE_ID=\"{device_id}\"\n")
|
||||
|
||||
def write_core_variables(output_file, device_properties: ConfigParser):
|
||||
idf_target = get_property_or_exit(device_properties, "hardware", "target")
|
||||
idf_target = get_property_or_exit(device_properties, "hardware", "target").lower()
|
||||
output_file.write("# Target\n")
|
||||
output_file.write(f"CONFIG_IDF_TARGET=\"{idf_target.lower()}\"\n")
|
||||
output_file.write(f"CONFIG_IDF_TARGET=\"{idf_target}\"\n")
|
||||
output_file.write("# CPU\n")
|
||||
output_file.write(f"CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y\n")
|
||||
output_file.write(f"CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=240\n")
|
||||
@ -133,7 +133,7 @@ def write_flash_variables(output_file, device_properties: ConfigParser):
|
||||
output_file.write(f"CONFIG_ESPTOOLPY_FLASHFREQ_{esptool_flash_freq}=y\n")
|
||||
|
||||
def write_spiram_variables(output_file, device_properties: ConfigParser):
|
||||
idf_target = get_property_or_exit(device_properties, "hardware", "target")
|
||||
idf_target = get_property_or_exit(device_properties, "hardware", "target").lower()
|
||||
has_spiram = get_property_or_exit(device_properties, "hardware", "spiRam")
|
||||
if has_spiram != "true":
|
||||
return
|
||||
@ -161,7 +161,7 @@ def write_spiram_variables(output_file, device_properties: ConfigParser):
|
||||
output_file.write("CONFIG_SPIRAM_XIP_FROM_PSRAM=y\n")
|
||||
|
||||
def write_performance_improvements(output_file, device_properties: ConfigParser):
|
||||
idf_target = get_property_or_exit(device_properties, "hardware", "target")
|
||||
idf_target = get_property_or_exit(device_properties, "hardware", "target").lower()
|
||||
output_file.write("# Free up IRAM\n")
|
||||
output_file.write("CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH=y\n")
|
||||
output_file.write("CONFIG_FREERTOS_PLACE_SNAPSHOT_FUNS_INTO_FLASH=y\n")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user