Files
spincoat-plater-firmware/main/Kconfig
2025-12-26 11:04:16 -05:00

88 lines
2.5 KiB
Plaintext

menu "Pin Mapping Configuration"
config ESC_CTRL_PIN
int "ESC control GPIO pin"
default 22
help
This is the pin used for sending DSHOT packets to the ESC.
config TELEMETRY_RX_PIN
int "ESC telemetry uart rx pin"
default 27
help
This is the pin used for receiving UART telemetry from the ESC.
config TFT_MISO
int "SPI LCD MISO pin"
default 12
help
This is the pin for MISO on the SPI LCD.
config TFT_MOSI
int "SPI LCD MOSI pin"
default 13
help
This is the pin for MOSI on the SPI LCD.
config TFT_SCKL
int "SPI LCD SCKL pin"
default 14
help
This is the pin for SCKL on the SPI LCD.
config TFT_CS
int "SPI LCD CS pin"
default 15
help
This is the pin for CS on the SPI LCD.
config TFT_DC
int "SPI LCD DC pin"
default 2
help
This is the pin for DC on the SPI LCD.
config TFT_BL
int "SPI LCD BL (backlight) pin"
default 21
help
This is the pin for backlight control on the SPI LCD.
config TOUCH_IRQ
int "SPI touchscreen IRQ pin"
default 36
help
This is the pin for IRQ on the SPI touchscreen.
config TOUCH_MOSI
int "SPI touchscreen MOSI pin"
default 32
help
This is the pin for MOSI on the SPI touchscreen.
config TOUCH_MISO
int "SPI touchscreen MISO pin"
default 39
help
This is the pin for MISO on the SPI touchscreen.
config TOUCH_CLK
int "SPI touchscreen CLK pin"
default 25
help
This is the pin for CLK on the SPI touchscreen.
config TOUCH_CS
int "SPI touchscreen CS pin"
default 33
help
This is the pin for CS on the SPI touchscreen.
config TFT_HRES
int "The horizontal resolution of the TFT display"
default 320
help
This is the horizontal resolution for the front-panel SPI LCD
config TFT_VRES
int "The vertical resolution of the TFT display"
default 240
help
This is the vertical resolution for the front-panel SPI LCD
config TFT_BPP
int "The bits per pixel of the TFT display"
default 16
help
This is the bits per pixel for the TFT display and influences
how much memory the display buffer takes up
endmenu