Implement device: CYD-2432S024R (#521)

This commit is contained in:
NellowTCS
2026-04-13 12:59:15 -06:00
committed by GitHub
parent 10ba4f58e2
commit be2cdc0b90
11 changed files with 222 additions and 0 deletions
@@ -0,0 +1,25 @@
#include "devices/Display.h"
#include "devices/SdCard.h"
#include <driver/gpio.h>
#include <Tactility/hal/Configuration.h>
#include <Tactility/lvgl/LvglSync.h>
#include <PwmBacklight.h>
using namespace tt::hal;
static bool initBoot() {
return driver::pwmbacklight::init(LCD_PIN_BACKLIGHT);
}
static DeviceVector createDevices() {
return {
createDisplay(),
createSdCard()
};
}
extern const Configuration hardwareConfiguration = {
.initBoot = initBoot,
.createDevices = createDevices
};