- Added CONFIG_TT_BOARD_CYD_2432S028R in Kconfig. - Included support for CYD2432S028R in Boards.h and board.cmake. - Updated Xpt2046Touch driver to use configuration->spiDevice instead of SPI2_HOST when creating the SPI handle. - Note: SD card is not working on this board yet. This commit introduces full support for the CYD-2432S028R board and improves the touchscreen driver flexibility by allowing dynamic SPI device configuration. SD card functionality still needs to be implemented.
7 lines
148 B
C++
7 lines
148 B
C++
#pragma once
|
|
|
|
#include "Tactility/hal/display/DisplayDevice.h"
|
|
#include <memory>
|
|
|
|
std::shared_ptr<tt::hal::display::DisplayDevice> createDisplay();
|