Open
Conversation
…I + XPT2046 touch
…6336G/ES8311 code Refactor ESP32S3-Viking interface implementation to support XPT2046 touchscreen and update GPIO configurations.
…board hardware Comment out HSPI and SD MMC flags for configuration.
…fined reference to InputHandler()
Refactor touch handling and LED initialization. Update comments and improve code clarity.
…_opi for N16R8 PSRAM
…B LED, add touch calibration Refactor touch handling to utilize TFT_eSPI built-in support, removing direct XPT2046 SPI communication code. Update comments for clarity and adjust GPIO setup for touch functionality.
Removed FastLED library usage for WS2812 RGB LED control and replaced it with neopixelWrite function.
…rface.h Added necessary includes and forward declarations for TFT_eSPI and LittleFS. Defined structures and constants for touch input and configuration pins.
…t.getTouch for touch Updated LED control to use neopixelWrite directly instead of a separate function.
…lWrite with rgbLedWrite Replaced neopixelWrite with rgbLedWrite for LED control.
Added touch recalibration feature on startup and improved GPIO setup functions. Updated InputHandler to manage touch input and button presses more effectively.
…s_arduino.h) Removed RF_TX_PINS and RF_RX_PINS definitions from configuration.
Updated wiring instructions and changed RFID module configuration from I2C to SPI.
Updated pin assignments for LCD and PN532 connections.
Updated wiring instructions for TFT connections.
Configure OPI PSRAM for ESP32-S3-WROOM-1 N16R8 (8MB OPI PSRAM). Fixes PSRAM initialization error: quad_psram vs opi_opi mode. Remove mfix-esp32-psram-cache-issue (Quad PSRAM only).
Fix linker error: Move board_build.arduino.memory_type = opi_opi from build_flags to board options (before build_src_filter). This fixes "cannot find -lC:/...board_build.arduino.memory_type" error.
Temporarily disable PSRAM to diagnose bootloop (RTCWDT_RTC_RST). Commented out: - board_build.arduino.memory_type = opi_opi - -DBOARD_HAS_PSRAM Will re-enable after confirming firmware boots without PSRAM.
CRITICAL FIX: Corrected TFT pinout to match actual wiring. Changed pins: - TFT_MISO_PIN: 16 → 5 (IO5) - TFT_CS: 5 → 8 (IO8) - TFT_DC: 6 → 17 (IO17) - TFT_RST: 4 → 18 (IO18) - TFT_BL: 17 → 16 (IO16) This was causing the screen not to work. Now matches interface.cpp comments.
Updated pin definitions for CC1101 SPI configuration.
Updated NRF24 pins to disabled state.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Types of Changes
Verification
Testing
Linked Issues
User-Facing Change
Further Comments