Skip to content

refactor: update SPI pin definitions for ESP32S3 target#7

Open
gnahiak2 wants to merge 4 commits into
thisiseth:mainfrom
gnahiak2:main
Open

refactor: update SPI pin definitions for ESP32S3 target#7
gnahiak2 wants to merge 4 commits into
thisiseth:mainfrom
gnahiak2:main

Conversation

@gnahiak2

@gnahiak2 gnahiak2 commented Jun 4, 2026

Copy link
Copy Markdown

No description provided.

Copilot AI review requested due to automatic review settings June 4, 2026 13:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates ESP32-S3 SPI pin assignments and removes the local devcontainer setup for the serprog project.

Changes:

  • Remap ESP32-S3 SPI pin defines for the EEPROM/SPI bus.
  • Remove .devcontainer/devcontainer.json configuration.
  • Remove .devcontainer/Dockerfile container build used for ESP-IDF/QEMU dev environment.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/serprog/main/main.c Changes hardcoded ESP32-S3 SPI pin mappings.
src/serprog/.devcontainer/devcontainer.json Removes VS Code/Codespaces devcontainer configuration.
src/serprog/.devcontainer/Dockerfile Removes the container image definition (ESP-IDF + QEMU tooling).
Comments suppressed due to low confidence (2)

src/serprog/.devcontainer/devcontainer.json:1

  • Removing the devcontainer configuration drops a reproducible dev environment (VS Code/Codespaces settings, ESP-IDF paths, required extensions). If the project still expects container-based development, consider replacing it with a minimal/updated devcontainer (or moving it to the repo root if that’s the new convention) and adding a short note in developer docs indicating the supported workflow.
    src/serprog/.devcontainer/Dockerfile:1
  • This removal also eliminates the pinned ESP-IDF base image + QEMU toolchain setup used for local emulation (and potentially for onboarding/CI if anyone relied on it). If containerization is being intentionally discontinued, consider adding an alternative (e.g., documented host prerequisites or a new container definition elsewhere) to avoid breaking established workflows.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/serprog/main/main.c
Comment on lines 34 to +39
#elif defined CONFIG_IDF_TARGET_ESP32S3
#define EEPROM_HOST SPI2_HOST
#define PIN_NUM_MISO 5
#define PIN_NUM_MOSI 16
#define PIN_NUM_CLK 15
#define PIN_NUM_CS 4
#define PIN_NUM_MISO 13
#define PIN_NUM_MOSI 11
#define PIN_NUM_CLK 12
#define PIN_NUM_CS 10
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.

2 participants