Implemented CYD-2432S028R board and update XPT2046 driver (#308)

- 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.
This commit is contained in:
Rivair Sabino dos Santos
2025-08-31 09:49:55 -03:00
committed by GitHub
parent 50007ea9ed
commit 5dfc6d70da
14 changed files with 269 additions and 1 deletions
+9
View File
@@ -18,6 +18,15 @@ jobs:
with:
board_id: cyd-2432s024c
arch: esp32
cyd-2432s028r:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Build"
uses: ./.github/actions/build-firmware
with:
board_id: cyd-2432s028r
arch: esp32
cyd-2432s032c:
runs-on: ubuntu-latest
steps: