Skip to content

[esp32] Document github:// framework source for native ESP-IDF#6691

Open
swoboda1337 wants to merge 6 commits into
esphome:nextfrom
swoboda1337:idf-git-source
Open

[esp32] Document github:// framework source for native ESP-IDF#6691
swoboda1337 wants to merge 6 commits into
esphome:nextfrom
swoboda1337:idf-git-source

Conversation

@swoboda1337
Copy link
Copy Markdown
Member

@swoboda1337 swoboda1337 commented May 25, 2026

Description

Documents the new framework.source forms accepted by the native ESP-IDF toolchain:

  • github://owner/repo[@ref]
  • https://github.com/owner/repo.git[@ref]

These trigger a git clone --recurse-submodules instead of an archive download. Required when using a custom IDF (e.g. `master` for chips not yet in a tagged release) because GitHub's archive URLs strip submodules and the build fails.

The existing PlatformIO source examples are kept for the PlatformIO toolchain path.

Related issue (if applicable): N/A

Pull request in esphome with YAML changes (if applicable):

Checklist

  • I am merging into `next` because this is new documentation that has a matching pull-request in esphome as linked above.
    or

  • I am merging into `current` because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.

  • Link added in `/src/content/docs/components/index.mdx` when creating new documents for new components or cookbook.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 25, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit d167623
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/6a14ae7e7b84000008f4f368
😎 Deploy Preview https://deploy-preview-6691--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
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

Documents additional esp32.framework.source formats for the ESP32 component so users of the native ESP-IDF toolchain can point at GitHub repositories (with submodules) when using custom/pre-release ESP-IDF versions.

Changes:

  • Rewords framework.source to describe it as a toolchain-dependent “framework source override”.
  • Keeps PlatformIO package-spec examples for the PlatformIO toolchain path.
  • Adds native ESP-IDF toolchain documentation for github://owner/repo[@ref] and https://github.com/owner/repo.git[@ref] sources, including an example.

Comment thread src/content/docs/components/esp32.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants