Boot splash and more (#98)

* Boot splash and more

- Added developer sdkconfig
- Refactored the way FreeRTOS includes are included
- Improved Gui/Loader logic
- Implemented boot app with splash screen

* Updated naming for Gui and Loader services

* Renamed Screenshot service methods

* Renames

* Service renames
This commit is contained in:
Ken Van Hoeylandt
2024-11-30 15:37:16 +01:00
committed by GitHub
parent 3f62ec2efa
commit 0188ce721c
60 changed files with 726 additions and 307 deletions
+4 -2
View File
@@ -35,6 +35,7 @@ static const std::vector<const service::Manifest*> system_services = {
// region Default apps
namespace app {
namespace boot { extern const Manifest manifest; }
namespace desktop { extern const Manifest manifest; }
namespace files { extern const Manifest manifest; }
namespace gpio { extern const Manifest manifest; }
@@ -57,6 +58,7 @@ extern const app::Manifest screenshot_app;
#endif
static const std::vector<const app::Manifest*> system_apps = {
&app::boot::manifest,
&app::desktop::manifest,
&app::display::manifest,
&app::files::manifest,
@@ -145,11 +147,11 @@ void init(const Configuration* config) {
register_user_apps(config->apps);
TT_LOG_I(TAG, "init starting desktop app");
service::loader::start_app(app::desktop::manifest.id, true, Bundle());
service::loader::startApp(app::boot::manifest.id, true, Bundle());
if (config->auto_start_app_id) {
TT_LOG_I(TAG, "init auto-starting %s", config->auto_start_app_id);
service::loader::start_app(config->auto_start_app_id, true, Bundle());
service::loader::startApp(config->auto_start_app_id, true, Bundle());
}
TT_LOG_I(TAG, "init complete");