-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add detailed SDK setup instructions for RP2040 and ESP32 builds #3437
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ed.rst - Added dedicated "Building for RP2040" section with pico-sdk installation steps - Added dedicated "Building for ESP32" section with esp-idf installation steps - Included platform-specific instructions for Linux/macOS and Windows - Added PICO_SDK_PATH export steps before cmake for rp2040 - Added esp-idf source/export steps before cmake for esp32 - Updated note section to reference new detailed sections - Documentation builds successfully without errors Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
- Changed Windows Command Prompt blocks from bash to bat for proper highlighting - Changed PowerShell blocks from bash to powershell for proper highlighting - Improves documentation readability and accuracy Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
|
@copilot fix precommit check error |
- Removed trailing whitespace from line 37 as detected by pre-commit check - Documentation builds successfully Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
There was a problem hiding this 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 adds comprehensive SDK setup instructions for building TinyUSB on RP2040 and ESP32 platforms, addressing a gap in the existing documentation that previously only mentioned SDK requirements without detailed installation steps.
Key changes:
- Added detailed "Building for RP2040" section with Pico SDK installation, environment setup, and build example
- Added detailed "Building for ESP32" section with ESP-IDF installation, environment sourcing, and build example
- Updated initial note to include cross-references to the new detailed sections
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Describe the PR
Added comprehensive build instructions for RP2040 and ESP32 platforms with required SDK installation and environment setup steps before cmake.
PICO_SDK_PATHexport steps, and build exampleexport.sh/export.bat/export.ps1), and build examplebashfor Linux/macOS,batfor Command Prompt,powershellfor PowerShellfix #3287
Additional context
Both sections follow the same structure: SDK installation → environment setup → build example, with tips for persistent configuration.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.