From 4744565b0e99c43e22a1e11f59ff99eb644adafa Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Wed, 27 Nov 2024 00:26:59 +0100 Subject: [PATCH] Simplify manifest and update docs (#95) --- App/Source/HelloWorld/HelloWorld.cpp | 1 - Documentation/ideas.md | 3 +-- README.md | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/App/Source/HelloWorld/HelloWorld.cpp b/App/Source/HelloWorld/HelloWorld.cpp index 77668c13..641f8df0 100644 --- a/App/Source/HelloWorld/HelloWorld.cpp +++ b/App/Source/HelloWorld/HelloWorld.cpp @@ -13,6 +13,5 @@ static void app_show(tt::app::App& app, lv_obj_t* parent) { extern const tt::app::Manifest hello_world_app = { .id = "HelloWorld", .name = "Hello World", - .type = tt::app::TypeUser, .onShow = &app_show, }; diff --git a/Documentation/ideas.md b/Documentation/ideas.md index 658a9e23..3a845a50 100644 --- a/Documentation/ideas.md +++ b/Documentation/ideas.md @@ -5,7 +5,6 @@ - Show a warning screen when a user plugs in the SD card on a device that only supports mounting at boot. - Try out Waveshare S3 120MHz mode for PSRAM (see "enabling 120M PSRAM is necessary" in [docs](https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-4.3#Other_Notes)) - T-Deck has random sdcard SPI crashes due to sharing bus with screen SPI: make it use the LVGL lock for sdcard operations? -- Wi-Fi connect app should show info about connection result - Check service/app id on registration to see if it is a duplicate id - Fix screenshot app on ESP32: it currently blocks when allocating memory - Localisation of texts @@ -16,8 +15,8 @@ - Bug: in LVGL9 with M5Core2, crash when bottom item is clicked without scrolling first - Publish firmwares with upload tool - De-duplicate WiFi SSIDs. -- Move libs/M5 projects to boards/M5Shared - Refactor hardware configuration init methods to return esp_err_t instead of bool +- Replace M5Unified and M5GFX with custom drivers (so we can fix the Core2 SD card mounting bug, and so we regain some firmware space) # Core Ideas - Support for displays with different DPI. Consider the layer-based system like on Android. diff --git a/README.md b/README.md index 37714a75..2192b196 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,7 @@ static void app_show(tt::app::App app, lv_obj_t* parent) { extern const tt::app::Manifest manifest = { .id = "HelloWorld", // Used to identify and start an app .name = "Hello World", // Shown on the desktop and app's toolbar - .type = TypeUser, - .on_show = &app_show // A minimal setup sets the on_show() function + .onShow = &app_show // A minimal setup sets the on_show() function }; ```