libretiny: Fix dashboard import when package_import_url is longer than 63 characters

This commit is contained in:
2026-01-02 01:30:45 -07:00
parent bd3ecad3a1
commit 83c3f0a752

View File

@@ -324,6 +324,9 @@ async def component_to_code(config):
# set default UART port
if (uart_port := framework.get(CONF_UART_PORT, None)) is not None:
lt_options["LT_UART_DEFAULT_PORT"] = uart_port
# increase buffer space for mDNS TXT records (256 bytes -> 384 bytes) so
# that there's enough room for dashboard import (fixes issue #11281)
lt_options["MDNS_TXT_RDATA_SIZE"] = 384
# add custom options
lt_options.update(framework[CONF_OPTIONS])