Add LilyGO T-Deck Max (e-paper) base board support (#552)

This commit is contained in:
Crazypedia
2026-07-08 02:40:09 -04:00
committed by GitHub
parent f4f91f81d6
commit d6ac070e30
27 changed files with 2274 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
// SPDX-License-Identifier: Apache-2.0
#include <tactility/check.h>
#include <tactility/driver.h>
#include <tactility/module.h>
extern "C" {
extern Driver xl9555_driver;
static error_t start() {
/* We crash when construct fails, because if a single driver fails to construct,
* there is no guarantee that the previously constructed drivers can be destroyed */
check(driver_construct_add(&xl9555_driver) == ERROR_NONE);
return ERROR_NONE;
}
static error_t stop() {
/* We crash when destruct fails, because if a single driver fails to destruct,
* there is no guarantee that the previously destroyed drivers can be recovered */
check(driver_remove_destruct(&xl9555_driver) == ERROR_NONE);
return ERROR_NONE;
}
Module xl9555_module = {
.name = "xl9555",
.start = start,
.stop = stop,
.symbols = nullptr,
.internal = nullptr
};
}