AP_HAL_ChibiOS: Add HGLRC_H743_PRO board support - #33873
Conversation
|
Automated hwdef review ( PR 33873 · base Build
Must-fixEverything is in one commit. ArduPilot wants one commit per subsystem:
The PR description is the unfilled template - no summary, no description, no testing checkboxes ticked. For a new board that's the only evidence a reviewer has. Please say what was verified on hardware: IMU orientation, baro, USB, RC input, all 8 motor outputs, the VTX and camera relays, and the battery readings above. Should-fix
Related: README:13 claims 8 UARTs but the hwdef defines 7. If USART6 really is broken out on the board, it's missing from the hwdef; if not, the count needs correcting. The addressable LED doesn't work out of the box. README:15 and :62 advertise it and README:38 lists SERIAL4's default use as "RC input (SBUS)", but nothing sets SERIAL4's protocol, so the in-code default applies and it comes up as GPS. Either set the protocol or fix the column.
Dead or redundant defines:
Notes
Ignore the helper's bootloader
BIDIR placement is right: one per channel pair (CH1 and CH3 on both TIM1 and TIM4) and nothing on TIM4_CH4. DMA2 stream 7 carries six peripherals: USART1_TX (the MSP DisplayPort VTX link), UART7_TX, UART8_TX, TIM5_UP (LED strip), SPI2_RX (OSD) and SPI3_RX (dataflash). Everything did get a stream and sharing is normal on H7, but that's a crowded stream for a link §13.1 calls high-priority - worth checking DisplayPort behaviour with logging active. Clock is 400 MHz ( I2C1 pull-ups: PB7/PB8 are bare, which is correct if the board fits external resistors and non-functional if it doesn't - the Generated by Claude via |
Fixed all, please review the code again. |
|
How can we move forward with merging this PR? I see that all CI processes have passed. |
Summary
Classification & Testing (check all that apply and add your own)
Description
Adds support for the HGLRC H743 PRO flight controller.
The board uses an STM32H743VI, ICM42688-P IMU, SPA06-003 barometer,
AT7456E analog OSD, 16 MiB SPI flash, eight motor outputs, a serial LED
output, switchable 10 V VTX power, and a dual-camera analog switch.
The battery voltage divider is 20K:1K, so the default voltage multiplier
is set to 21.0.
Hardware verification
<value> V<value> V<value> A<value> A