New kernel drivers and device implementation updates (#561)

- Added modular device support and devicetree bindings for ILI9341, ILI9488, CST816S, XPT2046, and GPIO button input, updating several board configurations for display/touch/backlight/keyboard/battery.
- Added a setting to control deprecated HAL usage (device property + Kconfig).
This commit is contained in:
Ken Van Hoeylandt
2026-07-12 23:54:55 +02:00
committed by GitHub
parent 50c0a14a93
commit fa4a6e255c
148 changed files with 5837 additions and 2145 deletions
+6
View File
@@ -77,6 +77,12 @@ menu "Tactility App"
config TT_TDECK_WORKAROUND
bool "Temporary work-around until we fix the T-Deck keyboard and trackball settings"
default n
config TT_USE_DEPRECATED_HAL
bool "When set to false, it ensures an empty tt::hal::hardwareConfig is made automatically"
default y
help
This allows for migrating projects that don't use the old HAL.
When set to 'n', the project has an option to not depend on Tactility and can depend on TactilityKernel instead.
choice TT_USER_DATA_LOCATION
prompt "User Data Location"
default TT_USER_DATA_LOCATION_INTERNAL
+5
View File
@@ -9,8 +9,13 @@
#include <Simulator.h>
#endif
#ifdef CONFIG_TT_USE_DEPRECATED_HAL
// Each board project declares this variable
extern const tt::hal::Configuration hardwareConfiguration;
#else
// Legacy placeholder (required until legacy HAL is cleaned up everywhere)
extern const tt::hal::Configuration hardwareConfiguration = {};
#endif
extern "C" {