Boot apps refactored (#498)

- Specify launcher via menuconfig
- Specify auto-start app via menuconfig
- Implement more rigid boot.properties fallbacks
- Devices with tiny screen now auto-start ApWebServer
- ApWebServer UI fixes
This commit is contained in:
Ken Van Hoeylandt
2026-02-12 00:10:04 +01:00
committed by GitHub
parent 49632d15c9
commit 8ff990d635
53 changed files with 243 additions and 35 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
namespace tt::settings {
static const auto LOGGER = Logger("BootSettings");
constexpr auto* TAG = "BootSettings";
constexpr auto* PROPERTIES_FILE_FORMAT = "{}/settings/boot.properties";
constexpr auto* PROPERTIES_KEY_LAUNCHER_APP_ID = "launcherAppId";
@@ -37,11 +37,11 @@ bool loadBootSettings(BootSettings& properties) {
properties.launcherAppId = value;
}
})) {
LOGGER.error("Failed to load {}", path);
LOG_I(TAG, "No settings at %s", path.c_str());
return false;
}
return !properties.launcherAppId.empty();
return true;
}
}