Skip to content

HGLRC_H743_LITE: Update PINIO and gyro definitions#1047

Open
HGLRC-T wants to merge 1 commit intobetaflight:masterfrom
HGLRC-T:HGLRC-H743-LITE-FIX
Open

HGLRC_H743_LITE: Update PINIO and gyro definitions#1047
HGLRC-T wants to merge 1 commit intobetaflight:masterfrom
HGLRC-T:HGLRC-H743-LITE-FIX

Conversation

@HGLRC-T
Copy link
Contributor

@HGLRC-T HGLRC-T commented Mar 6, 2026

  • Add support for LSM6DSV16X and LSM6DSK320X gyro/accel.
  • Reassign PINIO1 to PE2 (Cam1,2) and add PINIO2 on PC13 (12V BEC), removing previous PINIO1 configuration.
  • Remove unused GYRO_1_CLKIN pin (PC6) as it's not required.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 6, 2026

Warning

Rate limit exceeded

@HGLRC-T has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 20 minutes and 54 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 692ef7c5-8f5e-4a55-8b78-63c4f7981d98

📥 Commits

Reviewing files that changed from the base of the PR and between e2f254e and c3c7ab7.

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

Walkthrough

This PR updates the HGLRC_H743_LITE board config: adds two ACC gyro options, removes gyro clock-in macros, expands motor pin definitions (MOTOR5–MOTOR8), restructures TIMER_PIN_MAPPING and DMA timing options, and changes PINIO assignments and user-facing box labels.

Changes

Cohort / File(s) Summary
Board Hardware Configuration
configs/HGLRC_H743_LITE/config.h
Added USE_ACCGYRO_LSM6DSV16X, USE_ACCGYRO_LSM6DSK320X; removed USE_GYRO_CLKIN and GYRO_1_CLKIN_PIN; added MOTOR5_PIN..MOTOR8_PIN; updated TIMER_PIN_MAPPING to include MOTOR5–MOTOR8 and moved LED_STRIP entry; adjusted TIMUPx DMA option assignments; changed PINIO1_PIN from PC13 to PE2, added PINIO2_PIN (PC13) and PINIO2_BOX; updated BOX_USER1_NAME/BOX_USER2_NAME labels.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

Bugfix

Suggested reviewers

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

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description covers the technical changes made but does not follow the mandatory template requiring schematics review, hardware testing, and compliance checklist. Add mandatory sections from the template: schematics review status, hardware testing confirmation, guideline compliance checklist, and connector standards verification.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main changes: adding motor outputs 5-8, updating PINIO pin assignments, and modifying gyro definitions.
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.

@osirisinferi
Copy link
Contributor

Remove unused GYRO_1_CLKIN pin (PC6) as it's not required.

Are there no HGLRC H743 Lite flight controllers sold with an ICM-42688-P, which would benefit from the CLKIN?

@HGLRC-T
Copy link
Contributor Author

HGLRC-T commented Mar 10, 2026

Remove unused GYRO_1_CLKIN pin (PC6) as it's not required.

Are there no HGLRC H743 Lite flight controllers sold with an ICM-42688-P, which would benefit from the CLKIN?

Thank you for pointing this out. We did not consider the clock function of CLK in the initial design. We will add the IMU external clock function in a subsequent PRO version.

- Add support for LSM6DSV16X and LSM6DSK320X gyro/accel.
- Reassign PINIO1 to PE2 (Cam1,2) and add PINIO2 on PC13 (12V BEC), removing previous PINIO1 configuration.
- Remove unused GYRO_1_CLKIN pin (PC6) as it's not required.
@HGLRC-T HGLRC-T force-pushed the HGLRC-H743-LITE-FIX branch from 3807e99 to c3c7ab7 Compare March 10, 2026 01:52
@HGLRC-T HGLRC-T changed the title HGLRC_H743_LITE: Add motor outputs 5-8, update PINIO and gyro definitions HGLRC_H743_LITE: Update PINIO and gyro definitions Mar 10, 2026
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.

3 participants