Ken Van Hoeylandt f6cdabf3c0
Merge develop into main (#348)
## App state

Improved app state management in `LoaderService` and `GuiService`:

- Re-ordered some of the state transitions
- Hardened `GuiService` for repeated events (that might trigger a re-render of an app that's already rendered)
- Validate state transitions in `LoaderService` and crash if an app transitions from the wrong state to the next one.

## LoaderService

- Removed `tt::loader::` functions and expose `LoaderService` interface publicly.
- Implement `stopAll()` and `stopAll(id)` which stops all instances of an app, including any apps that were launched by it.
- Rename `stop()` functions to `stopTop()`
- Created `stopTop(id)` which only stops the top-most app when the app id matches.
- Moved `loader::LoaderEvent` to `loader::LoaderService::Event`
- Changed app instance `std::stack` to `std::vector`

## Improvements

- `ElfApp`: error 22 now shows a hint that `main()` might be missing
- Starting, installing and uninstalling apps now stops any running app (and its children) on the stack

## Bugfixes

- `HttpdReq` out of memory issue now shows an error message and doesn't crash anymore (this would happen on devices without PSRAM with WiFi active, when an app was installed)
- `GuiService::hideApp()` lock should not wait for timeout and now waits indefinitely
- `Buildscript/release-sdk-current.sh` deletes the previous local release before building a new one

## Code correctness

- App classes were made `final`
- Apps that had a `void start()` now have a `LaunchId start()`
- `tt::app::State`: renamed `Started` to `Created` and `Stopped` to `Destroyed` to properly reflect earlier name changes
2025-09-27 18:04:09 +02:00
2025-09-22 08:03:21 +02:00
2025-09-27 18:04:09 +02:00
2025-09-22 08:03:21 +02:00
2025-09-16 23:12:07 +02:00
2025-09-27 18:04:09 +02:00
2025-09-01 23:07:00 +02:00
2025-02-08 23:10:31 +01:00
2025-09-07 10:17:44 +02:00
2025-09-17 23:42:49 +02:00
2025-01-24 22:49:29 +01:00
2025-09-22 08:03:21 +02:00
2025-09-16 23:12:07 +02:00
2024-11-04 21:19:24 +01:00
2025-08-02 12:28:28 +02:00
2025-09-07 17:25:20 +02:00

Overview

Tactility is an operating system that focuses on the ESP32 microcontroller family.

See https://tactility.one for more information.

photo of devices running Tactility  screenshot of launcher app

You can run built-in apps or start them from an SD card. It's easy to manage system settings:

screenshot off app list app  screenshot of settings app

License

GNU General Public License Version 3

Description
An operating system for ESP32 devices.
Readme 59 MiB
Languages
C++ 61.4%
C 31.5%
Python 3.9%
HTML 1.6%
CMake 1.5%
Other 0.1%