# Need help porting PX4-Autopilot to custom STM32H743VIT6 hardware (PX4 FMU-V6C clone)

**URL:** <https://discuss.cubepilot.org/t/need-help-porting-px4-autopilot-to-custom-stm32h743vit6-hardware-px4-fmu-v6c-clone/16995>\
**Category:** PX4\
**Created:** [25 September 2025 10:16 UTC](https://discuss.cubepilot.org/t/need-help-porting-px4-autopilot-to-custom-stm32h743vit6-hardware-px4-fmu-v6c-clone/16995 "2025-09-25T10:16:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkeyno](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/mkeyno/32/5251_2.png) [@mkeyno](https://discuss.cubepilot.org/u/mkeyno)\
**Post date:** [25 September 2025 10:16 UTC](https://discuss.cubepilot.org/t/need-help-porting-px4-autopilot-to-custom-stm32h743vit6-hardware-px4-fmu-v6c-clone/16995/1 "2025-09-25T10:16:16Z")

</div>

I’m working on a project to adapt the **PX4-Autopilot** firmware to my custom flight controller hardware, which uses the **STM32H743VIT6** chip. I chose the existing **PX4 FMU-V6C** board as my base and cloned its configuration for my port.

However, after adding my customized files to the repository ( [GitHub - mkeyno/pixeagle: Flight controller reference design based on the STM32F765VGT6 microcontroller similar to FMUv5](https://github.com/mkeyno/pixeagle) ), the new hardware target is **failing to compile**.

I am getting the following error when attempting to build,  
Has anyone successfully ported PX4 to this specific microcontroller or encountered a similar compilation issue when cloning a board configuration? **I would be grateful for any advice!**

~/PX4/PX4-Autopilot$ make px4\_pixeagle\_default menuconfig  
[0/1] Re-running CMake…  
– PX4\_GIT\_TAG: v1.16.0-rc1-783-g0c8f5ebc32  
– PX4 config file: /home/mehrdad/PX4/PX4-Autopilot/boards/px4/pixeagle/default.px4board  
– PLATFORM nuttx  
– TOOLCHAIN arm-none-eabi  
– ARCHITECTURE cortex-m7  
– ROMFSROOT px4fmu\_common  
– CONSTRAINED\_FLASH y  
– SERIAL\_GPS1 /dev/ttyS2  
– SERIAL\_TEL1 /dev/ttyS0  
– SERIAL\_TEL2 /dev/ttyS3  
– SERIAL\_TEL3 /dev/ttyS1  
– SERIAL\_TEL4 /dev/ttyS4  
– ROOT\_PATH /fs/microsd  
– PARAM\_FILE /fs/mtd\_params  
– PWM\_FREQ 400  
– PX4 config: px4\_pixeagle\_default  
– PX4 platform: nuttx  
make[2]: \*\*\* [tools/Unix.mk:267: include/arch/board] Error 1  
make[1]: \*\*\* [tools/Unix.mk:606: olddefconfig] Error 2  
– cmake build type: MinSizeRel  
– ccache enabled (export CCACHE\_DISABLE=1 to disable)  
– NuttX Stack Checking (CONFIG\_ARMV7M\_STACKCHECK) enabled  
– ROMFS: ROMFS/px4fmu\_common  
– ROMFS: Adding boards/px4/pixeagle/init/rc.board\_defaults → /etc/init.d/rc.board\_defaults  
– ROMFS: Adding boards/px4/pixeagle/init/rc.board\_sensors → /etc/init.d/rc.board\_sensors  
– Configuring done  
– Generating done  
– Build files have been written to: /home/mehrdad/PX4/PX4-Autopilot/build/px4\_pixeagle\_default  
[1/3] Generating ../../../platforms/nuttx/NuttX/nuttx/.config  
FAILED: ../../platforms/nuttx/NuttX/nuttx/.config  
cd /home/mehrdad/PX4/PX4-Autopilot/platforms/nuttx/NuttX/nuttx && /usr/bin/cmake -E copy\_if\_different /home/mehrdad/PX4/PX4-Autopilot/build/px4\_pixeagle\_default/NuttX/nuttx/Make.defs /home/mehrdad/PX4/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/Make.defs && cat /home/mehrdad/PX4/PX4-Autopilot/boards/px4/pixeagle/nuttx-config/nsh/defconfig /home/mehrdad/PX4/PX4-Autopilot/build/px4\_pixeagle\_default/NuttX/extra\_config\_options \> /home/mehrdad/PX4/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/.config && /usr/bin/cmake -E copy\_if\_different /home/mehrdad/PX4/PX4-Autopilot/boards/px4/pixeagle/nuttx-config/nsh/defconfig /home/mehrdad/PX4/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/defconfig && /home/mehrdad/PX4/PX4-Autopilot/platforms/nuttx/NuttX/tools/px4\_nuttx\_make\_olddefconfig.sh \> /home/mehrdad/PX4/PX4-Autopilot/build/px4\_pixeagle\_default/NuttX/nuttx\_olddefconfig.log && /usr/bin/cmake -E copy\_if\_different /home/mehrdad/PX4/PX4-Autopilot/platforms/nuttx/NuttX/nuttx/.config /home/mehrdad/PX4/PX4-Autopilot/build/px4\_pixeagle\_default/NuttX/nuttx/.config  
make[2]: \*\*\* [tools/Unix.mk:267: include/arch/board] Error 1  
make[1]: \*\*\* [tools/Unix.mk:606: olddefconfig] Error 2  
ninja: build stopped: subcommand failed.  
make: \*\*\* [Makefile:222: px4\_pixeagle\_default] Error 1

---

<div class="post-metadata">

**Author:** ![Gary\_Mortimer](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/gary_mortimer/32/1439_2.png) [@Gary\_Mortimer](https://discuss.cubepilot.org/u/Gary_Mortimer)\
**Post date:** [25 September 2025 14:04 UTC](https://discuss.cubepilot.org/t/need-help-porting-px4-autopilot-to-custom-stm32h743vit6-hardware-px4-fmu-v6c-clone/16995/2 "2025-09-25T14:04:44Z")

</div>

Not really the place for this but this post is approved anyway. The PX4 devs would be a better fit if there are any left!

---

<div class="post-metadata">

**Author:** ![Julien](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/julien/32/1262_2.png) [@Julien](https://discuss.cubepilot.org/u/Julien)\
**Post date:** [25 September 2025 16:03 UTC](https://discuss.cubepilot.org/t/need-help-porting-px4-autopilot-to-custom-stm32h743vit6-hardware-px4-fmu-v6c-clone/16995/3 "2025-09-25T16:03:39Z")

</div>

As @Gary_Mortimer said, PX4 forum is more appropriate.

---

<div class="post-metadata">

**Author:** ![mkeyno](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/mkeyno/32/5251_2.png) [@mkeyno](https://discuss.cubepilot.org/u/mkeyno)\
**Post date:** [25 September 2025 21:12 UTC](https://discuss.cubepilot.org/t/need-help-porting-px4-autopilot-to-custom-stm32h743vit6-hardware-px4-fmu-v6c-clone/16995/4 "2025-09-25T21:12:26Z")

</div>

I did, but no one has shown any interest to the post, so I was hoping that, could get some help from Cube developers

---

<div class="post-metadata">

**Author:** ![Gary\_Mortimer](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/gary_mortimer/32/1439_2.png) [@Gary\_Mortimer](https://discuss.cubepilot.org/u/Gary_Mortimer)\
**Post date:** [27 September 2025 09:48 UTC](https://discuss.cubepilot.org/t/need-help-porting-px4-autopilot-to-custom-stm32h743vit6-hardware-px4-fmu-v6c-clone/16995/5 "2025-09-27T09:48:32Z")

</div>

I think there are only a handful of PX4 devs left, it’s a pretty dead project IMHO

---

<div class="post-metadata">

**Author:** ![mkeyno](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/mkeyno/32/5251_2.png) [@mkeyno](https://discuss.cubepilot.org/u/mkeyno)\
**Post date:** [27 September 2025 09:58 UTC](https://discuss.cubepilot.org/t/need-help-porting-px4-autopilot-to-custom-stm32h743vit6-hardware-px4-fmu-v6c-clone/16995/6 "2025-09-27T09:58:13Z")

</div>

How so? PX4 based on the H7 series is very active?
