Rename Boards/ to Devices/ (#414)

This commit is contained in:
Ken Van Hoeylandt
2025-11-13 23:50:43 +01:00
committed by GitHub
parent c7c9618f48
commit c1ff024657
314 changed files with 105 additions and 99 deletions
@@ -0,0 +1,26 @@
#pragma once
#include <Tactility/hal/display/DisplayDevice.h>
#include <driver/gpio.h>
class St7789i8080Display;
constexpr auto DISPLAY_CS = GPIO_NUM_6;
constexpr auto DISPLAY_DC = GPIO_NUM_7;
constexpr auto DISPLAY_WR = GPIO_NUM_8;
constexpr auto DISPLAY_RD = GPIO_NUM_9;
constexpr auto DISPLAY_RST = GPIO_NUM_5;
constexpr auto DISPLAY_BL = GPIO_NUM_38;
constexpr auto DISPLAY_I80_D0 = GPIO_NUM_39;
constexpr auto DISPLAY_I80_D1 = GPIO_NUM_40;
constexpr auto DISPLAY_I80_D2 = GPIO_NUM_41;
constexpr auto DISPLAY_I80_D3 = GPIO_NUM_42;
constexpr auto DISPLAY_I80_D4 = GPIO_NUM_45;
constexpr auto DISPLAY_I80_D5 = GPIO_NUM_46;
constexpr auto DISPLAY_I80_D6 = GPIO_NUM_47;
constexpr auto DISPLAY_I80_D7 = GPIO_NUM_48;
constexpr auto DISPLAY_HORIZONTAL_RESOLUTION = 170;
constexpr auto DISPLAY_VERTICAL_RESOLUTION = 320;
// Factory function for registration
std::shared_ptr<tt::hal::display::DisplayDevice> createDisplay();