Repository navigation
Conversation
There was a problem hiding this comment.
Thanks for the contribution. PX4 has a formal board support guide for new flight controllers. Several of its requirements aren't met yet, and CI is red.
-
The PR has no description. There's nothing explaining what this board is, what hardware is on it, or where it can be bought. Please describe what you're submitting.
-
No documentation. The guide requires a docs page with "a pinout mapping PX4 pin definitions to the microcontroller pins and physical connectors, plus a block diagram or schematic." Add a page under
docs/en/flight_controller/. -
No flight log. The guide requires demonstrating stable flight with logs uploaded to https://logs.px4.io and linked in the PR. None provided.
-
Register the board_id in PX4-Bootloader. We noticed your ArduPilot PR (ArduPilot/ardupilot#33313) reserving
AP_HW_DroneerX6 = 5801. The guide requires the same ID to be reserved on the PX4 side via a PR againstPX4/PX4-Bootloader: "If your board will also run ArduPilot, reserve the same board ID in both bootloaders." Itsboard_types.txtalready reserves5800-5809for Droneer and listsAP_HW_DroneerF405 5800, but5801(your X6) is missing, so it needs to be added to match your ArduPilot reservation:--- a/board_types.txt +++ b/board_types.txt @@ -513,6 +513,7 @@ #IDs 5800-5809 reserved for Droneer AP_HW_DroneerF405 5800 +AP_HW_DroneerX6 5801 #IDs 5810-5819 reserved for Brother Hobby AP_HW_BrotherHobbyH743 5810
Match the existing space alignment (not a tab). Link that PR here once it's up. (5801 is already consistent across this PR's
firmware.prototypeandsrc/hw_config.hBOARD_TYPE, so the value is correct, it's just not registered in PX4-Bootloader yet.) -
USB VID/PID must be yours. The guide: "Do not copy another manufacturer's VID/PID." Your app and bootloader defconfigs ship
VENDORID=0x3643/PRODUCTID=0x15E0, which are ZeroOne's. Register your own, or request allocation under the Dronecode USB VID if you're a Foundation member. -
CI is red.
check_format,check_newlines,shellcheck_all,PR Title, and the macOSbuildare all failing, plus clang-tidy flagged 4bugprone-macro-parentheseserrors insrc/hw_config.handsrc/board_config.h. Runmake format, fix the newline/shellcheck issues, and apply the clang-tidy suggestions. -
PR title needs conventional-commit format, e.g.
feat(boards): add Droneer X6 flight controller. -
Remove ZeroOne/v6x leftovers and verify copied pin definitions.
nuttx-config/include/board.hstill uses the__NUTTX_CONFIG_PX4_FMU_V6X_INCLUDE_BOARD_Hheader guard and px4_fmu-v6x path comment.init/rc.board_sensors,rc.board_defaults, andrc.board_mavlinkbranch on the ZeroOnever hwbasecmp 009 010 011Skynode base board and startpm_selector_auterion;rc.board_mavlink's comment says "PX4 FMUv6X specific." Remove these if Droneer X6 doesn't have that hardware, and double-check copied pin/sensor definitions against your actual schematic.
Requesting changes for now.
🔎 Flash and RAM Analysis
px4_io-v2 firmware image, which an FMU flashes to its IO at boot: unchanged. px4_fmu-v2 — Bloaty section/symbol breakdownpx4_fmu-v5x — Bloaty section/symbol breakdownpx4_fmu-v6x — Bloaty section/symbol breakdownpx4_io-v2 — Bloaty section/symbol breakdownUpdated: 2026-11-25T22:28:37 |
|
/en/flight_controller/droneer_x6.md
|
mrpollo
left a comment
There was a problem hiding this comment.
Thanks for the updates, good progress since the last round. The title's fixed, the description and docs page are in, and the ZeroOne pm_selector_auterion/Skynode logic is gone from rc.board_sensors. A few things still need to land before this can merge.
CI is still red. check_format, check_newlines, and shellcheck_all are all failing. Run make format, clean up the trailing and duplicate blank lines (the init/rc.board_sensors script has several clusters), and fix the shellcheck warnings in the rc.board_* scripts. The ark-stm32h7-1 build failure is unrelated to your board (it's a zenoh IDL issue on that target), ignore it.
USB VID/PID is still ZeroOne's. Both your app and bootloader defconfigs ship VENDORID=0x3643 / PRODUCTID=0x15E0, which belong to ZeroOne. You can't ship another manufacturer's USB Vendor ID. Options, in the order I'd recommend:
- Get your own USB-IF Vendor ID. Cleanest path for a commercial product. $6,000 one-time, no logo license needed, yours for life with the full PID space. Fully independent and traceable to Droneer. https://www.usb.org/getting-vendor-id
- pid.codes (VID 0x1209). Free, for open-source projects, allocated by pull request. Since this board port is open source it's a legit option and the fastest way to unblock the PR today. Fork their repo and submit a PR to claim a PID. Info: https://pid.codes/1209/ ; Request: https://github.com/pidcodes/pidcodes.github.com
- Dronecode can allocate a PID under our Vendor ID if neither of the above works for you.
board.h still has v6x leftovers. The header guard is __NUTTX_CONFIG_PX4_FMU_V6X_INCLUDE_BOARD_H and the path comment points at px4_fmu-v6x. Rename them, and please verify the copied pin and sensor definitions against your actual schematic rather than assuming they match ZeroOne.
Reserve 5801 in PX4-Bootloader. Your ArduPilot PR reserves AP_HW_DroneerX6 = 5801, but it's missing from board_types.txt in PX4-Bootloader (only AP_HW_DroneerF405 5800 is there). Open that PR and link it here. The value is correct everywhere in this PR, it just isn't registered upstream yet.
Flight log. The board support guide requires a https://logs.px4.io link showing stable flight for the vehicle type. Still missing.
A couple of smaller things: the docs page isn't in docs/en/SUMMARY.md, so it's orphaned and the link-check fails (add it to the TOC), the image URLs point at a github.com/Droneer-uav blob path that needs to resolve, and the page should carry the manufacturer-supported notice block other board pages have. Minor: you inherited CONFIG_DRIVERS_RC_INPUT from zeroone/x6, but upstream v6x uses CONFIG_COMMON_RC, worth aligning, not a blocker.
Requesting changes again. The hardware-clone approach is fine, it just needs the cleanup, the VID, and the flight log before it can go in.
I'm dropping this from the v1.18 release, since its still has pending work, and we can't wait any longer.
15676af to
3a6bd28
Compare
|
@mrpollo @farhangnaderi The docs for this are near-accepable. Have your issues been addressed? Can you re-review? |
|
@mrpollo what about the CI check for the Dronecode registry? |
|
That's something that should be fixed here https://github.com/dronecode/usb-ids |
There was a problem hiding this comment.
Thanks for the board support. I've pushed 6c4c6e4 to your branch. It brings the docs page onto the template used for new flight controller pages:
- Rename: the page is now
droneer_x6.md, the image folderdroneer_x6/, and the title "Droneer X6". - Layout: the sections are in template order, with Specifications in label form.
- New sections: Ethernet, SD Card, Serial Port Mapping flow control, Radio Control, GPS & Compass, Telemetry, CAN, Debug Port and Further Information.
- Corrections to match the board source: PWM outputs are in 3 groups each for MAIN and AUX. DShot and bidirectional DShot are on AUX 1-6 only, because the MAIN outputs come from the PX4IO. There are 2 power inputs.
Please check the update and pull before making further changes.
The line comments are questions and suggestions; this is the order I'd suggest working through them.
1. Needed before merge
- Relationship to ZeroOne X6: the board files are a close copy of
boards/zeroone/x6. The differences are the names, the IMU set, and the removed BMP581/SPA06 startup. Is the Droneer X6 a licensed rebrand or derivative of the ZeroOne X6? If the hardware is the same apart from the IMUs, could it be supported as a variant ofzeroone/x6instead of a separate board directory? - Flight logs: please add links to your flight logs (https://logs.px4.io) to the PR description, as the board support guide (step 5) requires.
- Block diagram or schematic: see the comment on the pinout.
- Power ports and battery monitoring: see the comment on the Power section.
TELEM 1flow control: see the comment on that line.
2. Firmware questions: X6 Pro (spi.cpp), the PWM voltage select pin (board_config.h), the unused barometer drivers and the OSD port (default.px4board).
3. Facts only you can supply:
- voltage ratings
- debug port connectors
- whether the
PPMconnector works on the default firmware - weight, dimensions, and which IMUs are isolated
- confirmation of the figures that match ARK's page
4. Images: compress the photo and supply the pinout as SVG.
5. Release notes (optional): add the board to the Hardware Support list in docs/en/releases/main.md, in the form used in releases/1.18.md.
Restore the clipped PPM, GPS 2 and CAN 1 GND labels in the pinout, drop its invisible paths, and invert it in dark mode, where the black line art on a transparent background was invisible. Correct the safety switch default (CBRK_IO_SAFETY defaults to 22027, which disables it), fix the IO processor link text, and tidy the wording and formatting from the last review. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
Link the X6 product page from the introduction and Further Information, list AUX 7-8 on the AD&IO port, round the height to match the dimension drawing (32.77 mm), format the POWER 1 priority note, and put the release note entry in the form the release notes use. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
Render the dimension drawings and block diagram as images (they were swallowed by the list item and the <img> HTML block), point the intro at the current product page, add the separately-powered servo rail note the author confirmed, and use the PX4 unit style throughout. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
6168efd moved seven submodule pointers back to older commits, NuttX among them (from 12.12.0 to a 12.x backport branch). Reset them to the merge base with main so the board builds against the NuttX the defconfig changes were made for. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
Since 1239c24 the build fails at configure when a board keeps its own px4io binary in extras/. The px4io firmware now comes from the IO board via CONFIG_BOARD_IO, which defaults to px4_io-v2_default. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
1d2edca to
35be21b
Compare
There was a problem hiding this comment.
Note
This is an AI review (Claude).
I've resolved the 2 threads that are now fixed, and rebased your branch onto main (now 35be21b). The only conflicts were the board lists in SUMMARY.md, autopilot_manufacturer_supported.md and releases/main.md, where CyberX-v10 had been added next to the Droneer X6. I also dropped the accidental submodule bumps from defconfig and restore submodules while rebasing. Your board files, page and images are unchanged.
Please pull before making further changes (git fetch then git reset --hard origin/droneerv1, since the history was rewritten).
New since the last review
Thanks for the regenerated defconfig and the corrected diagram labels. droneer_x6_default builds on 35be21b (flash 94.2%).
Still open from earlier reviews
- Could you flash
droneer_x6_defaultfrom35be21band confirm that the board boots with/etcmounted and thathardfault_logworks? This matters more now that thedefconfigwas regenerated.
Once that's confirmed, this is done docs side.
@mrpollo @farhangnaderi This is ready for final technical review.
There was a problem hiding this comment.
Approved for docs. PS Thanks @wszy2021 for being so helpful and responsive.
|
|
@farhangnaderi Good to go? |
|
One more round I should check this and figure the commit tree to be ok. Then yes I will merge. |
Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Hamish Willee <hamishwillee@gmail.com>


add Droneer X6 flight controller
our flight control is based on the V6X standard, and board_types.txt,pixhawk-standards and pab_manifest.c.