MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / write_lvgl_variable_placeholders

Function write_lvgl_variable_placeholders

device.py:211–221  ·  view source on GitHub ↗
(output_file)

Source from the content-addressed store, hash-verified

209 output_file.write("CONFIG_ESP32S3_DATA_CACHE_LINE_64B=y\n")
210
211def write_lvgl_variable_placeholders(output_file):
212 output_file.write("# LVGL Placeholder\n")
213 output_file.write("CONFIG_LV_DPI_DEF=100\n")
214 output_file.write("CONFIG_LV_FONT_MONTSERRAT_8=y\n")
215 output_file.write("CONFIG_LV_FONT_DEFAULT_MONTSERRAT_8=y\n")
216 output_file.write("CONFIG_TT_LVGL_FONT_SIZE_SMALL=8\n")
217 output_file.write("CONFIG_TT_LVGL_FONT_SIZE_DEFAULT=8\n")
218 output_file.write("CONFIG_TT_LVGL_FONT_SIZE_LARGE=8\n")
219 output_file.write("CONFIG_TT_LVGL_STATUSBAR_ICON_SIZE=12\n")
220 output_file.write("CONFIG_TT_LVGL_LAUNCHER_ICON_SIZE=30\n")
221 output_file.write("CONFIG_TT_LVGL_SHARED_ICON_SIZE=12\n")
222
223def write_lvgl_variables(output_file, device_properties: ConfigParser):
224 output_file.write("# LVGL\n")

Callers 1

write_lvgl_variablesFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected