Skip to content

Add PrincipIoT H7 Pi target#1002

Merged
haslinghuis merged 12 commits intobetaflight:masterfrom
lukas-principiot:target/h7pi
Feb 28, 2026
Merged

Add PrincipIoT H7 Pi target#1002
haslinghuis merged 12 commits intobetaflight:masterfrom
lukas-principiot:target/h7pi

Conversation

@lukas-principiot
Copy link
Contributor

@lukas-principiot lukas-principiot commented Jan 3, 2026

Adding the PrincipIoT H7 Pi target. I've been in communication with the dev team on Discord and will be sending a sample to Haslinghuis soon.

Two open questions I have (I'm still a bit cloudy on these):

  • Are the ADC DMA options configured correctly?
  • Are the Timer DMA options configured correctly?

Checklist (✓/✕, or y/n)

  • [✓] passed Betaflight team's schematics review
  • [✓] passed hardware samples testing
  • [✓] follows guidelines
  • [✓] follows connector standards
  • [Shortly] flight tested
  • [✓] comments/issues resolved

Summary by CodeRabbit

  • New Features
    • Added support for the PRINCIPIOTH7PI flight controller: enables motors/servos, beeper, LED strip, SD card blackbox logging, multiple UARTs, I2C/SPI sensors (dual IMUs, barometer, magnetometer), ADC-based voltage/current sensing, VTX power control via PINIO, RX/GPS routing, and flexible timer/PWM mappings for peripherals.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 3, 2026

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

Walkthrough

Adds a new board configuration header for PRINCIPIOTH7PI (STM32H743) declaring MCU/board metadata and extensive pin/peripheral mappings (motors/servos/LEDs/UART/I2C/SPI/ADC/SDIO), DMA/timer mappings, sensor selections/alignments (ICM42688P, IIM42653, DPS310, LIS2MDL), RX/blackbox/PINIO/VTX macros.

Changes

Cohort / File(s) Summary
New PRINCIPIOTH7PI board configuration
configs/PRINCIPIOTH7PI/config.h
Added complete board header: FC_TARGET_MCU, BOARD_NAME, MANUFACTURER_ID, extensive GPIO pin mappings (motors, servos, LED strip, UARTs, I2C, SPI, ADC, SDIO), ADC/VBAT/CURRENT mappings, DMA/timer opts and TIMER_PIN_MAPPING, sensor enable/instance/align macros (ICM42688P, IIM42653, DPS310, LIS2MDL), SD card/blackbox defaults, RX/GPS UART assignments, PINIO/VTX controls and related macros.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

  • Add SPEDIXH743 #791 — Adds an STM32H743 board config header with overlapping pin and peripheral macro declarations.
  • Add DREAMWORKSH743 #1013 — Introduces another STM32H743 board header defining similar MCU/pin mappings, sensor selections, TIMER_PIN_MAPPING and SD/blackbox macros.
  • Add HGLRCH743 #872 — Adds an STM32H743 board config with matching sensor, DMA, timer and PINIO mappings.

Suggested labels

Schematics approved, Awaiting prototype samples, Uses BF connector standard

Suggested reviewers

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

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is missing key required sections and critical information. While the author mentions schematics review and ongoing communication, the template requires documented evidence of hardware testing and flight testing completion. Complete the checklist items: add documentation of hardware samples testing completion, confirm flight testing is done (not 'shortly'), and address the open technical questions about ADC/Timer DMA configurations before merging.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add PrincipIoT H7 Pi target' accurately and concisely describes the main change—introducing a new board configuration for the PrincipIoT H7 Pi flight controller.
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.

lukas-principiot and others added 3 commits January 3, 2026 12:35
Co-authored-by: Osiris Inferi <github@flut.nl.eu.org>
Co-authored-by: Osiris Inferi <github@flut.nl.eu.org>
Co-authored-by: ot0tot <36753790+ot0tot@users.noreply.github.com>
@haslinghuis haslinghuis merged commit 44fc660 into betaflight:master Feb 28, 2026
5 checks passed
@coderabbitai coderabbitai bot mentioned this pull request Mar 3, 2026
6 tasks
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.

5 participants