Skip to content

Add DEEPSPACEH7AIO - #1121

Merged
haslinghuis merged 7 commits into
betaflight:masterfrom
osirisinferi:deepspace-aio-h7
Aug 12, 2026
Merged

Add DEEPSPACEH7AIO#1121
haslinghuis merged 7 commits into
betaflight:masterfrom
osirisinferi:deepspace-aio-h7

Conversation

@osirisinferi

@osirisinferi osirisinferi commented Jun 9, 2026

Copy link
Copy Markdown
Member

Checklist (✓/✕, or y/n)

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

Todo

  • Check IMU orientation and correct if needed
  • Build and check on actual board

Summary by CodeRabbit

  • New Features
    • Added support for the DEEPSPACEH7AIO flight controller target.
    • Enabled onboard gyro/accelerometer, barometer, flash storage, OSD, and gyro clock functionality.
    • Added hardware mappings for motors, servos, serial ports, sensors, controls, indicators, and analog inputs.
    • Configured default peripheral, display, telemetry, blackbox, and programmable I/O settings.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 7386ddde-bb5f-4012-ba9e-0b88173da5f3

📥 Commits

Reviewing files that changed from the base of the PR and between 5acb82e and fdc7b32.

📒 Files selected for processing (1)
  • configs/DPDS/DEEPSPACEH7AIO/config.h

Walkthrough

Adds the DEEPSPACEH7AIO STM32H743 Betaflight target configuration with ICM42688P, DPS310, flash, MAX7456 OSD, board pin mappings, timer/DMA settings, peripheral instances, and default control settings.

Changes

Board Configuration

Layer / File(s) Summary
Complete board hardware configuration
configs/DPDS/DEEPSPACEH7AIO/config.h
Adds the board identity, enabled sensors and peripherals, GPIO and timer mappings, DMA and interface selections, default meter and blackbox settings, SPI assignments, inversion settings, and PINIO mappings.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

  • betaflight/config#822: Adds a similar STM32H743 target with overlapping ICM42688P, DPS310, flash, MAX7456, and peripheral mappings.
  • betaflight/config#1051: Adds a related Deepspace FPV target using the DPDS manufacturer ID.
  • betaflight/config#1173: Adds another DEEPSPACE board configuration with overlapping hardware and default-setting definitions.

Suggested labels: Uses Betaflight Connector Standard

Suggested reviewers: haslinghuis, nerdcopter, sugaark

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
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.
Description check ✅ Passed The description includes the required checklist and records completion of review, testing, compliance, flight testing, and issue resolution.
Title check ✅ Passed The title clearly and concisely identifies the main change: adding the DEEPSPACEH7AIO target configuration.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warning

CodeRabbit couldn't request changes on this pull request because it doesn't have sufficient GitHub permissions.

Please grant CodeRabbit Pull requests: Read and write permission and re-run the review.

👉 Steps to fix this

Actionable comments posted: 1

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

Inline comments:
In `@configs/DEEPSPACEH7AIO/config.h`:
- Around line 131-132: The inline comments on the TIMER_PIN_MAP entries for PB14
(CAMERA_CONTROL_PIN) and PE5 (BEEPER_PIN) are incorrect — they reference
non‑existent TIMx_CH4 channels; open the STM32H743 datasheet / alternate
function table, confirm the correct timer and channel mapping for PB14 and PE5,
then update the comments on the two TIMER_PIN_MAP lines (the entries using
CAMERA_CONTROL_PIN and BEEPER_PIN) to reflect the correct TIMx_CHy names (e.g.,
TIM12_CHx or TIM15_CHy as appropriate) so the comment matches the MCU AF
mapping.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 29d9c427-7143-419b-aea5-ed12ed4de44f

📥 Commits

Reviewing files that changed from the base of the PR and between 57ddf94 and 663da16.

📒 Files selected for processing (1)
  • configs/DEEPSPACEH7AIO/config.h

Comment thread configs/DEEPSPACEH7AIO/config.h Outdated
ADC_RSSI_PIN and ADC_EXTERNAL1_PIN pins are not connected to anything,
only marked on the MCU pinout.
Board now aligns with silk screen arrow with board align set to default (all zeros)
I²C bus 2 was unused in the original schematic, but will be used for the external
I²C pads in the mass produced PCB
@nerdCopter

Copy link
Copy Markdown
Member

Note

betaflight/config moved from configs/<BOARD>/ to configs/<MANUFACTURER_ID>/<BOARD>/ (grouped by manufacturer). This PR's config.h/config.mk/config.c are still at the old flat path and need to move to configs/<MANUFACTURER_ID>/<BOARD_NAME>/ before this can merge. Rebase onto master, move the files, and confirm MANUFACTURER_ID is declared and matches the parent directory (BOARD_NAME must still match the leaf directory name). See the repo README for the current layout and required defines.

@ot0tot

ot0tot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Need to move to manufacturer directory before merging.

@haslinghuis
haslinghuis added this pull request to the merge queue Aug 12, 2026
Merged via the queue into betaflight:master with commit 302dcde Aug 12, 2026
5 checks passed
@osirisinferi
osirisinferi deleted the deepspace-aio-h7 branch August 19, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants