Skip to content

Add HGLRC_H743_DUAL board#956

Open
HGLRC-T wants to merge 4 commits intobetaflight:masterfrom
HGLRC-T:HGLRC_H743_DUAL
Open

Add HGLRC_H743_DUAL board#956
HGLRC-T wants to merge 4 commits intobetaflight:masterfrom
HGLRC-T:HGLRC_H743_DUAL

Conversation

@HGLRC-T
Copy link
Contributor

@HGLRC-T HGLRC-T commented Nov 12, 2025

Summary by CodeRabbit

  • New Features
    • Added support for the HGLRC_H743_DUAL flight controller board.
    • Configured dual gyros, accelerometer, barometer, onboard flash (blackbox), and OSD support.
    • Multiple UART, I2C and SPI interfaces and peripheral mappings for sensors, MAX7456, and flash.
    • Pin/timer mappings for motors, servos, beeper, LED strip, and ADC-based voltage/current sensing.
    • Added user-configurable extra IO/box options and sensible defaults for meters and beeper.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 12, 2025

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7963ed60-845b-40c4-9a1b-acb343d94eaa

📥 Commits

Reviewing files that changed from the base of the PR and between 2f65f3a and c45c947.

📒 Files selected for processing (1)
  • configs/HGLRC_H743_DUAL/config.h
🚧 Files skipped from review as they are similar to previous changes (1)
  • configs/HGLRC_H743_DUAL/config.h

Walkthrough

Adds a new Betaflight board configuration header for HGLRC_H743_DUAL (STM32H743) declaring board identity, enabled sensors/peripherals, extensive pin and SPI/I2C/timer mappings, DMA/ADC settings, and default device/meter/box configurations.

Changes

Cohort / File(s) Summary
HGLRC_H743_DUAL Board Configuration
configs/HGLRC_H743_DUAL/config.h
New board config header: defines FC_TARGET_MCU, BOARD_NAME, MANUFACTURER_ID; enables sensors/peripherals (dual gyros, accel, baro, flash, MAX7456); declares SPI1–SPI4, gyro CS/EXTI/CLKIN and SPI instances, FLASH/MAX7456 CS & instances; UART1–UART8, I2C1, ADC VBAT/CURRENT pins; motor (1–8)/servo (1–3)/beeper/LED timer mappings; DMA options; default blackbox/device/meter scales; PINIO/BOX entries.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

  • Add SIMPLIFLYH7 #927 — Adds an STM32H743 board config header with the same macro set (FC_TARGET_MCU, board IDs, dual-gyro SPI/CLKIN/EXTI, SPI pins, TIMER_PIN_MAPPING).
  • Add AIRBRAINH743 #924 — Introduces an STM32H743 board config defining matching peripheral macros (gyros, baro, flash, SPI/I2C pins, DMA options).
  • Add HWH7 (STM32H743) config – initial #893 — Adds an STM32H743 board config with dual-gyro and SPI/ADC/timer mappings and DEFAULT_BLACKBOX_DEVICE similar to this change.

Suggested labels

Awaiting prototype samples

Suggested reviewers

  • ot0tot
  • haslinghuis
🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning No pull request description was provided by the author; all required sections from the template are missing. Add a complete PR description following the template, including the mandatory checklist (schematics review, hardware testing, guidelines compliance, etc.) and details about the board configuration.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change—adding a new board configuration for HGLRC_H743_DUAL.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

@ot0tot
Copy link
Contributor

ot0tot commented Nov 13, 2025

Feedback provided in Discord. Does not follow BF Manufacturer Guidelines.

@HGLRC-T HGLRC-T closed this Dec 16, 2025
@HGLRC-T HGLRC-T reopened this Dec 16, 2025
@HGLRC-T
Copy link
Contributor Author

HGLRC-T commented Dec 17, 2025

I have updated the config.h file of HGLRC_H743_DUAL according to the approved schematic diagram, please check it.

@sugaarK sugaarK added the Partner Program this pr is for a target from the partner program and will automatically get tier 1 status label Dec 18, 2025
@HGLRC-T
Copy link
Contributor Author

HGLRC-T commented Jan 5, 2026

Thanks to the community for their feedback. I have already rebased and forced a new change.

HGLRC-T and others added 2 commits January 7, 2026 22:19
Co-authored-by: Osiris Inferi <github@flut.nl.eu.org>
Co-authored-by: Osiris Inferi <github@flut.nl.eu.org>
@HGLRC-T
Copy link
Contributor Author

HGLRC-T commented Jan 13, 2026

@osirisinferi Any idea?

@osirisinferi
Copy link
Contributor

@osirisinferi Any idea?

LGTM (I don't have permission to approve the PR though). Is the hardware already live tested by the development team?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Partner Program this pr is for a target from the partner program and will automatically get tier 1 status

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants