Skip to content

Conversation

@ot0tot
Copy link
Contributor

@ot0tot ot0tot commented Nov 7, 2025

Checklist (✓/✕, or y/n)

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

Summary by CodeRabbit

  • New Features
    • Added support for the HGLRC F435 AIO flight controller (AT32F435G).
    • Enables onboard gyro/accelerometer, dual barometer options, flash-based Blackbox logging, and gyro clock-in.
    • Preconfigured motor outputs, UARTs, I2C/SPI peripherals, timer mappings, LED strip and beeper (inverted), and ADC-based voltage/current sensing.
    • DShot output enabled by default; default board yaw alignment and system clock preset applied.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 7, 2025

Walkthrough

Adds a new board configuration header for HGLRCF435AIO defining MCU (AT32F435G), board identifiers, enabled peripherals/sensors (ICM42688P, M25P16, BMP280/DPS310), comprehensive pin mappings (motors, UARTs, SPI, I2C, ADC, LEDs, beeper), TIMER_PIN_MAPPING, and default device presets.

Changes

Cohort / File(s) Change Summary
HGLRCF435AIO Hardware Configuration
configs/HGLRCF435AIO/config.h
New board config with ~60+ macro definitions: MCU/board/manufacturer IDs, USE_* enables (ACC/GYRO/FLASH/BARO), sensor selections (ICM42688P, M25P16, BMP280, DPS310), motor/UART/I2C/SPI/CS/EXTI/CLKIN pin mappings, ADC pins, LED/beeper/LED-strip pins, TIMER_PIN_MAPPING for motors/LEDs/gyro clock, peripheral instance selections, and default device settings (BLACKBOX_FLASH, DSHOT_BITBANG_ON, ADC meters).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

  • Verify pin assignments vs schematic (motor pins, UARTs, SPI/I2C/ADC)
  • Validate TIMER_PIN_MAPPING and timer channel assignments
  • Confirm peripheral instance selections and default device macros

Possibly related PRs

Suggested reviewers

  • nerdCopter

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The description includes only the checklist portion but lacks required context about hardware, objectives, and technical details specified in the template. Add comprehensive description covering hardware specifications, design changes, rationale for the new flight controller configuration, and any relevant technical details beyond the checklist.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add HGLRCF435AIO config.h' directly and clearly summarizes the main change: adding a new configuration file for the HGLRCF435AIO flight controller.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9b3021d and 2806616.

📒 Files selected for processing (1)
  • configs/HGLRCF435AIO/config.h (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • configs/HGLRCF435AIO/config.h
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Setup Build Environment

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.

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting prototype samples Awaiting prototype samples partner program this pr is for a target from the partner program and will automatically get tier 1 status Schematics approved Uses BF connector standard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants