Skip to content

ESP32s3: Migrate variants to new structure#7343

Merged
thebentern merged 1 commit intomeshtastic:masterfrom
vidplace7:variant-esp32s3
Jul 20, 2025
Merged

ESP32s3: Migrate variants to new structure#7343
thebentern merged 1 commit intomeshtastic:masterfrom
vidplace7:variant-esp32s3

Conversation

@vidplace7
Copy link
Member

@vidplace7 vidplace7 commented Jul 14, 2025

Builds upon / relies upon #7340

Migrate ESP32s3 variants to new directory structure.

Draft until #7340 is merged

@vidplace7 vidplace7 force-pushed the variant-esp32s3 branch 2 times, most recently from eef29de to bc8c12c Compare July 15, 2025 03:00
@caveman99 caveman99 requested a review from Copilot July 16, 2025 15:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR migrates ESP32s3 variants to a new directory structure, updating include paths to reflect the reorganized directory layout from flat variant directories to a hierarchical structure under variants/esp32s3/.

  • Updates all include paths from variants/{variant_name} to variants/esp32s3/{variant_name}
  • Moves one environment definition from the general DIY section to the ESP32s3 specific location
  • Reformats some build flag configurations for better readability

Reviewed Changes

Copilot reviewed 41 out of 127 changed files in this pull request and generated 2 comments.

File Description
variants/esp32s3/*/platformio.ini Updates include paths to use new esp32s3 subdirectory structure
variants/diy/platformio.ini Removes t-energy-s3_e22 environment definition
Comments suppressed due to low confidence (2)

variants/esp32s3/seeed_xiao_s3/platformio.ini:15

  • [nitpick] The define name SEEED_XIAO_S3 is inconsistent with the variant name seeed_xiao_s3. Consider using a consistent naming convention.
  -D SEEED_XIAO_S3

-D STATION_G2
-I variants/esp32s3/station-g2
-DBOARD_HAS_PSRAM
-DSTATION_G2
Copy link

Copilot AI Jul 16, 2025

Choose a reason for hiding this comment

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

The STATION_G2 define is duplicated on lines 17 and 20. Remove the duplicate definition to avoid potential confusion.

Suggested change
-DSTATION_G2

Copilot uses AI. Check for mistakes.
${esp32s3_base.build_flags}
-D SEEED_XIAO_S3
-I variants/esp32s3/seeed_xiao_s3
-DBOARD_HAS_PSRAM
Copy link

Copilot AI Jul 16, 2025

Choose a reason for hiding this comment

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

Trailing whitespace should be removed from the line ending.

Suggested change
-DBOARD_HAS_PSRAM
-DBOARD_HAS_PSRAM

Copilot uses AI. Check for mistakes.
@vidplace7 vidplace7 added the github_actions Pull requests that update GitHub Actions code label Jul 18, 2025
@vidplace7 vidplace7 force-pushed the variant-esp32s3 branch 5 times, most recently from 33629a8 to a66758e Compare July 20, 2025 16:00
@vidplace7
Copy link
Member Author

All affected PlatformIO envs have been compile tested. Shipit!

@vidplace7 vidplace7 marked this pull request as ready for review July 20, 2025 21:33
@thebentern thebentern merged commit 475cfe4 into meshtastic:master Jul 20, 2025
24 checks passed
oscgonfer pushed a commit to fablabbcn/smartcitizen-meshtastic that referenced this pull request Jul 22, 2025
oscgonfer pushed a commit to fablabbcn/smartcitizen-meshtastic that referenced this pull request Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants