Ken Van Hoeylandt 686f7cce83
TactilityCore improvements (#187)
FreeRTOS handles were stored plainly and they were deleted in the destructor of classes.
This meant that if a class were to be copied, the destructor would be called twice on the same handles and lead to double-free.

Seha on Discord suggested to fix this by using `std::unique_ptr` with a custom deletion function.

The changes affect:
- Thread
- Semaphore
- Mutex
- StreamBuffer
- Timer
- MessageQueue
- EventFlag

Thread  changes:
- Removal of the hack with the `Data` struct
- Thread's main body is now just a private static function inside the class.
- The C functions were relocated to static class members

PubSub changes:
- Refactored pubsub into class
- Renamed files to `PubSub` instead of `Pubsub`
- `PubSubSubscription` is now a private inner struct and `PubSub` only exposes `SubscriptionHandle`

Lockable, ScopedLockable, Mutex:
- Added `lock()` method that locks indefinitely
- Remove deprecated `acquire()` and `release()` methods
- Removed `TtWaitForever` in favour of `portMAX_DELAY`
2025-01-25 17:29:11 +01:00
2025-01-25 17:29:11 +01:00
2025-01-21 21:55:54 +01:00
2025-01-25 17:29:11 +01:00
2025-01-24 22:49:29 +01:00
2025-01-17 19:37:42 +01:00
2025-01-24 22:49:29 +01:00
2025-01-25 12:35:28 +01:00
2025-01-14 06:53:41 +01:00
2024-11-04 21:19:24 +01:00
2025-01-22 23:21:42 +01:00
2025-01-14 06:53:41 +01: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 desktop app

You can run built-in apps or start them from an SD card:

screenshot off app list app  screenshot of files app

It's easy to manage system settings:

screenshot of settings app  screenshot of wifi management 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%