Conversation
Display "CrossPad vX.Y.Z" in the SDL window title using the CMake-generated version header, so users can identify which build they're running at a glance. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- MCP server path: tools/mcp-server/ → crosspad-mcp (separate repo on GitHub) - Executable name: bin/main.exe → bin/CrossPad.exe - Tool count: 16 → 17 (add crosspad_idf_build) - Add crosspad_idf_build to Build & Run tools table - Update setup instructions to point to GitHub repo Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the PC simulator to show the build/version in the SDL window title and refreshes Claude integration docs to point at the external crosspad-mcp server repo and current executable/tooling names.
Changes:
- Generate and display
CrossPad vX.Y.Zin the emulator window title usingCROSSPAD_PC_VERSION. - Update
CLAUDE.mdMCP server instructions, paths, executable name, and tool list (addscrosspad_idf_build).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/stm32_emu/Stm32EmuWindow.cpp |
Builds a versioned window title using the CMake-generated version header. |
CLAUDE.md |
Updates build/run and MCP server documentation to match current tooling and repo layout. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| std::string title = std::string("CrossPad v") + CROSSPAD_PC_VERSION; | ||
| lv_sdl_window_set_title(disp, title.c_str()); |
There was a problem hiding this comment.
Since CROSSPAD_PC_VERSION is generated as a string literal, the window title can be built via compile-time string literal concatenation (e.g., adjacent string literals) instead of constructing a std::string at runtime. This would avoid the allocation and the extra <string> include here.
Summary
main.exe→CrossPad.exe), tool count (16 → 17), add missingcrosspad_idf_buildtoolTest plan
🤖 Generated with Claude Code