Skip to content

Conversation

@TianqiYe
Copy link
Contributor

No description provided.

TianqiYe and others added 4 commits October 12, 2025 23:07
## Changes

**Build System:**
- Switch from Arduino CLI to PlatformIO
- Fix flash size issue (use adafruit_feather_esp32s3 board = 4MB)
- No more HTTP/2 timeout hacks needed

**Library Structure:**
- Move BoardConfig and MatrixUtil to root lib/ directory
- Single source of truth: lib/BoardConfig/BoardConfig.h
- All games use shared libs via lib_extra_dirs = ../../lib
- Clean includes: <BoardConfig.h> and <MatrixUtil.h>

**Documentation:**
- Complete PlatformIO workflow in CLAUDE.md
- Added "Upload Troubleshooting" section with button sequences
- Clear beginner-friendly instructions for BOOT/RESET usage

**Example:**
- RotatingDonut/ now uses PlatformIO structure
- Working reference with platformio.ini template
- Builds and uploads successfully

🤖 Generated with Claude Code
https://claude.com/claude-code

Co-Authored-By: Claude <[email protected]>
## Changes

**Documentation:**
- Update CLAUDE.md with `uv` as recommended PlatformIO installation method
- Add pip3 --break-system-packages as quick alternative
- Explain why uv: 10-100x faster, auto PATH handling, clean environment

**.gitignore:**
- Add PlatformIO build artifacts (.pio/, .vscode/, etc.)
- Add build outputs (*.bin, *.elf, *.map)
- Add Python cache files (__pycache__/, *.pyc, etc.)
- Add IDE and OS files
- Ignore .happy/ tool state directory
- Explicitly ignore bin/arduino-cli (legacy)

**Cleanup:**
- Remove bin/arduino-cli (switched to PlatformIO)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
- Add AGENT AUTOMATION INSTRUCTIONS section to CLAUDE.md with:
  - PATH configuration requirements for pio commands
  - Automated build & upload workflow
  - Upload failure recovery steps
  - Success/error indicators for troubleshooting
- Add examples/FallingStars: physics-based particle animation
  - Colorful particles fall with gravity and stack up
  - Uses 6 vibrant colors (red, green, blue, yellow, magenta, cyan)
  - Demonstrates collision detection and accumulation
TianqiYe added a commit that referenced this pull request Oct 20, 2025
Merged platformio-migration branch into main, accepting the incoming
CLAUDE.md file which contains updated PlatformIO workflow documentation.

## Changes
- Updated .gitignore for PlatformIO artifacts
- Updated CLAUDE.md with PlatformIO installation and workflow
- Removed legacy bin/arduino-cli
- Added examples/RotatingDonut/ with PlatformIO structure
- Moved BoardConfig from config/ to lib/BoardConfig/
- Added library.json files for shared libraries

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
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