IMPORTANT: Update board definition configuration to prevent frying hotend#134
IMPORTANT: Update board definition configuration to prevent frying hotend#134jLynx wants to merge 3 commits into
Conversation
📝 WalkthroughWalkthroughThe BTT Octopus Pro H723 board configuration swaps two pin assignments: the Y1 stepper enable pin moves from PA0 to PA2, while the extruder heater pin moves from PA2 to PA0, resolving a hardware pin conflict. ChangesPin Configuration Swap
Estimated Code Review Effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
configuration/boards/btt-octopus-pro-h723-11/board-definition.json (1)
67-79:⚠️ Potential issue | 🔴 CriticalRevert
enable_pinfrom"PA0"back to"PA2"for MOTOR3 — the current change is incorrect.The official BTT GitHub README and Klipper's generic-bigtreetech-octopus-pro-v1.1.cfg both confirm that
DRIVER3(MOTOR3) enable pin is PA2, not PA0. The v1.1 board redesigned the pinout from v1.0, intentionally swapping PA0 from motor enable to HE0 (heater output) to fix DFU mode heating conflicts. PA0 is therefore a heater pin, not a stepper enable pin. The PR change reversed this back to the outdated v1.0 pinout.Correct configuration for MOTOR3:
enable_pin: PA2step_pin: PG4dir_pin: PC1🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@configuration/boards/btt-octopus-pro-h723-11/board-definition.json` around lines 67 - 79, Restore MOTOR3.enable_pin to PA2 (it was incorrectly changed to PA0); locate the MOTOR3 object in board-definition.json and set the "enable_pin" value to "PA2" while keeping "step_pin": "PG4" and "dir_pin": "PC1" intact so the MOTOR3 entry matches the official BTT/klipper pinout.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@configuration/boards/btt-octopus-pro-h723-11/board-definition.json`:
- Around line 67-79: Restore MOTOR3.enable_pin to PA2 (it was incorrectly
changed to PA0); locate the MOTOR3 object in board-definition.json and set the
"enable_pin" value to "PA2" while keeping "step_pin": "PG4" and "dir_pin": "PC1"
intact so the MOTOR3 entry matches the official BTT/klipper pinout.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: f265867f-7d16-4596-a241-800967a70321
📒 Files selected for processing (1)
configuration/boards/btt-octopus-pro-h723-11/board-definition.json
|
@tg73 can confirm this should be pulled ASAP. The pins in the existing config for this board HE0 are actually from the pro v1.0 (STM32446) |

Updated to use the correct pin for the btt octopus pro h723 v1.1
Summary by CodeRabbit
Release Notes