#include "YellowSdCard.h" #include "YellowDisplayConstants.h" #include using tt::hal::sdcard::SpiSdCardDevice; std::shared_ptr 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(), std::vector(), CYD_SDCARD_SPI_HOST ); return std::shared_ptr( new SpiSdCardDevice(std::unique_ptr(configuration)) ); }