Add initial support for LilyGO T-HMI S3 with device configuration and… (#509)

This commit is contained in:
Rivair Sabino dos Santos
2026-03-03 18:38:42 -03:00
committed by GitHub
parent 33caf09856
commit 2426c387eb
14 changed files with 292 additions and 0 deletions
@@ -0,0 +1,23 @@
#include "SdCard.h"
#include <Tactility/lvgl/LvglSync.h>
#include <Tactility/hal/sdcard/SdmmcDevice.h>
using tt::hal::sdcard::SdmmcDevice;
std::shared_ptr<SdCardDevice> createSdCard() {
auto configuration = std::make_unique<SdmmcDevice::Config>(
SD_DIO_SCLK, //CLK
SD_DIO_CMD, //CMD
SD_DIO_DATA0, //D0
SD_DIO_NC, //D1
SD_DIO_NC, //D2
SD_DIO_NC, //D3
SdCardDevice::MountBehaviour::AtBoot,
SD_DIO_BUS_WIDTH
);
return std::make_shared<SdmmcDevice>(
std::move(configuration)
);
}