Skip to content

feat(boards/zeroone): add ZeroOne X9 board support - #29763

Open
ZeroOne-Aero wants to merge 4 commits into
PX4:mainfrom
ZeroOne-Aero:pr-ZeroOneX9-261110
Open

ZeroOne-Aero wants to merge 4 commits into
PX4:mainfrom
ZeroOne-Aero:pr-ZeroOneX9-261110

Conversation

@ZeroOne-Aero

@ZeroOne-Aero ZeroOne-Aero commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR adds PX4 support for the ZeroOne X9 flight controller. It introduces the zeroone_x9_default firmware target and the zeroone_x9_bootloader target, together with the NuttX board configuration, peripheral mappings, and sensor startup configuration.

Hardware

MCU: STM32H753
Board ID: 5601
Onboard IMUs: 3 x IIM4265x
PWM output voltage: selectable between 3.3 V and 5 V via PWM_VOLT_SEL

Add firmware and bootloader targets for the STM32H753-based ZeroOne X9
(board ID 5601). Configure three IIM42653 IMUs with IIM42652 fallback
and support selectable 3.3 V or 5 V PWM output.

Signed-off-by: Sharanie0612 <sharanie0612w@gmail.com>
Rebuild the bundled bootloader with NuttX 12.12.0 from 4ba804c.

Signed-off-by: Sharanie0612 <sharanie0612w@gmail.com>
@github-actions github-actions Bot added kind:feature Request or change that adds new functionality. scope:boards Board-specific changes or hardware definitions. labels Nov 11, 2026
@mrpollo
mrpollo requested a review from julianoes November 11, 2026 15:34

@julianoes julianoes 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.

Same thing, docs missing.

Add a board page for the ZeroOne X9 with the template headings, and list
it in the sidebar and on the manufacturer-supported page. Placeholder
comments hold what the board files and the manufacturer's manual already
say, so the manufacturer only has to complete them.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
Fill the Specifications section from the board files and ZeroOne's X9
manual, marking values neither source gives as TBD for the manufacturer
to supply.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
@hamishwillee

Copy link
Copy Markdown
Contributor

Thanks for adding the ZeroOne X9.
A new board also needs a documentation page (see Board Support Guide > Open the Pull Request), which this PR doesn't have yet.

To make that easier, I've pushed two commits that start the page at docs/en/flight_controller/zeroone_x9.md and list it in the sidebar and on the manufacturer-supported page.
They contain what I could work out from the board files and your X9 manual.
Please complete it:

  • Replace each <!-- placeholder --> comment and each TBD with the missing information.
    ARK V6X is a good example of the content and form we're looking for.
  • Add a pinout (connector tables, or a link to a public pinout document) and a block diagram or schematic of the main components. Both are required by the board support guide.
  • Add a photo of the board under docs/assets/flight_controller/zeroone_x9/.
    You're welcome to reuse the interface drawings from your manual.
  • Add links to flight logs (logs.px4.io) to the PR description.

Hardware questions:

  1. Support category: I've listed the X9 as manufacturer supported, which means ZeroOne commits to keeping it working across PX4 releases. Can you confirm?
  2. Reference design: Is the X9 based on FMUv6X? The firmware is derived from fmu-v6x, but the X9 documentation doesn't say so.
  3. IMUs: The manual lists 3× IIM-42652, but rc.board_sensors tries IIM-42653 first. Are there X9 versions with IIM-42653? If so, which?
  4. Barometers: The manual lists "ICP-20100×2 or BMP581+SPL07".
    default.px4board builds only the ICP-201xx driver, so the bmp581 and spa06 fallbacks in rc.board_sensors can't start.
    PX4 has no SPL07 driver (spa06 is a Goertek part).
    Which barometers ship, on which buses, and does the BMP581+SPL07 version work with PX4?
  5. Power: Your drawing shows Power1 and Power2 carrying CAN and 5V but no I2C.
    The firmware supports INA226/228/238 monitors on I2C1/I2C2, and none is enabled by default.
    How is battery voltage and current measured: with a DroneCAN power module? If so, which module, on which CAN bus, and what configuration does it need?
  6. RC input: The spec table lists "DSM PPM IN×1" and "SBUS IN×1", but the drawing only shows the SBUS port.
    Where are the DSM and PPM inputs, and which protocols does each RC connector support?
    Which connector does the DSM bind signal reach?
  7. Connectors: The spec table lists UART4, SPI and AD&IO ports on the baseboard, but the drawing doesn't show them.
    Where are UART4, TELEM3, SPI, AD&IO, the debug console/SWD port, the safety switch and the buzzer?
  8. PWM outputs: The baseboard exposes MAIN 1–8 and AUX 1–6. Can you confirm that FMU outputs 7–8 and the FMU_CAP1 capture pin are only on the X9 Core connector?
    How is the servo rail powered, and what's its voltage range?
  9. Heater: The manual lists IMU temperature compensation as 10W. Is that the heater's power?
  10. Other specs: Please confirm the Ethernet speed, SD card slot and maximum card size, current draw, voltage ratings for each power input, and the mounting-hole size. Does the full X9 use the same 32 × 32mm spacing as the X9 Core?
  11. English docs: The X9 manual is only in Chinese. Is there an English version we can link?

Firmware notes (for the code review):

  • init/rc.board_sensors:3 is headed "ZeroOne X6 specific board sensors init".
  • init/rc.board_defaults:6-11 keeps the FMUv6X Skynode branch (ver hwbasecmp 009 010 011).
  • src/board_config.h:247: the comment for GPIO_PWM_VOLT_SEL says PD15, but the code configures GPIO_PORTG|GPIO_PIN6.
  • default.px4board has no CONFIG_BOARD_SERIAL_RC line, although RC_SERIAL_PORT is /dev/ttyS5. FMUv6X has CONFIG_BOARD_SERIAL_RC="/dev/ttyS5".

@github-actions

Copy link
Copy Markdown
Contributor

No broken links found in changed files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:feature Request or change that adds new functionality. scope:boards Board-specific changes or hardware definitions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants