CYD-E28R32T Implementation (#317)

- Add implementation for CYD-E28R28T. This implementation has the SD card working, using the same driver as the CYD-2432S028R.
- Edit .gitignore for some missing things.
- run chmod +x on some build scripts
- Make EspLcdDisplay's reference public for access from drivers (needed for driver St7789i8080)
> ```class EspLcdDisplay : public tt::hal::display::DisplayDevice {```
This commit is contained in:
NellowTCS
2025-09-06 05:52:46 -06:00
committed by GitHub
parent 1627b9fa85
commit a9b69010d8
21 changed files with 281 additions and 6 deletions
@@ -0,0 +1,22 @@
#include "YellowSdCard.h"
#include "YellowDisplayConstants.h"
#include <Tactility/hal/sdcard/SpiSdCardDevice.h>
using tt::hal::sdcard::SpiSdCardDevice;
std::shared_ptr<SdCardDevice> createYellowSdCard() {
auto* configuration = new SpiSdCardDevice::Config(
CYD_SDCARD_PIN_CS,
GPIO_NUM_NC, // No card detect pin specified
GPIO_NUM_NC,
GPIO_NUM_NC,
SdCardDevice::MountBehaviour::AtBoot,
std::make_shared<tt::Mutex>(),
std::vector<gpio_num_t>(),
CYD_SDCARD_SPI_HOST
);
return std::shared_ptr<SdCardDevice>(
new SpiSdCardDevice(std::unique_ptr<SpiSdCardDevice::Config>(configuration))
);
}