Skip to content

IMPORTANT: Update board definition configuration to prevent frying hotend#134

Open
jLynx wants to merge 3 commits into
Rat-OS:v2.1.xfrom
jLynx:v2.1.x
Open

IMPORTANT: Update board definition configuration to prevent frying hotend#134
jLynx wants to merge 3 commits into
Rat-OS:v2.1.xfrom
jLynx:v2.1.x

Conversation

@jLynx
Copy link
Copy Markdown

@jLynx jLynx commented May 4, 2026

Updated to use the correct pin for the btt octopus pro h723 v1.1

image

Summary by CodeRabbit

Release Notes

  • Bug Fixes
    • Corrected pin assignment configuration on the BTT Octopus Pro H723 board for secondary Y-axis control and extruder heater functionality in hybrid CoreXY/IDEX printer setups to prevent hardware conflicts.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

📝 Walkthrough

Walkthrough

The 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.

Changes

Pin Configuration Swap

Layer / File(s) Summary
Configuration Adjustment
configuration/boards/btt-octopus-pro-h723-11/config.cfg
y1_enable_pin reassigned from PA0 to PA2 and e_heater_pin reassigned from PA2 to PA0 within the board_pins octopus_pro_h723_tmc2209 section.

Estimated Code Review Effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A swap of pins, so neat and clean,
Where PA0 and PA2 exchange their scene,
The motors hum, the heater glows,
No more conflicts where the current flows! ⚡

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately describes the main purpose of the PR—correcting a pin configuration for the BTT Octopus Pro H723 v1.1 to prevent heater frying. It directly relates to the core change and its critical implications.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 | 🔴 Critical

Revert enable_pin from "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: PA2
  • step_pin: PG4
  • dir_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

📥 Commits

Reviewing files that changed from the base of the PR and between 1c77d17 and 8927086.

📒 Files selected for processing (1)
  • configuration/boards/btt-octopus-pro-h723-11/board-definition.json

@jLynx
Copy link
Copy Markdown
Author

jLynx commented May 5, 2026

@jLynx jLynx changed the title Update board definition configuration IMPORTANT: Update board definition configuration to prevent frying hotend May 6, 2026
@LongLiveCHIEF
Copy link
Copy Markdown
Contributor

@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)

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