Skip to content

Bruce demo#2361

Open
piotrkliszka-bot wants to merge 49 commits intoBruceDevices:mainfrom
piotrkliszka-bot:Bruce-demo
Open

Bruce demo#2361
piotrkliszka-bot wants to merge 49 commits intoBruceDevices:mainfrom
piotrkliszka-bot:Bruce-demo

Conversation

@piotrkliszka-bot
Copy link
Copy Markdown

Proposed Changes

Types of Changes

Verification

Testing

Linked Issues

User-Facing Change


Further Comments

…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.
Refactor touch handling and LED initialization. Update comments and improve code clarity.
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant