# Adding a Custom Board

**URL:** <https://discuss.px4.io/t/adding-a-custom-board/45446>\
**Category:** PX4 Autopilot\
**Created:** [May 7, 2025, 12:30pm UTC](https://discuss.px4.io/t/adding-a-custom-board/45446 "2025-05-07T12:30:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hamza\_shabbir](https://discuss.px4.io/user_avatar/discuss.px4.io/hamza_shabbir/32/18225_2.png) [@hamza\_shabbir](https://discuss.px4.io/u/hamza_shabbir)\
**Post date:** [May 7, 2025, 12:30pm UTC](https://discuss.px4.io/t/adding-a-custom-board/45446/1 "2025-05-07T12:30:32Z")

</div>

I have designed a **custom flight controller board** based on the **STM32F405RGT6 microcontroller**. The board includes the following hardware features:

- **Three user-controllable LEDs**
- **Two GPIOs configured to support PWM output via Timer 12**
- **A Bosch BMI055 IMU sensor** connected over SPI

To support this hardware, I followed the official PX4 development workflow and created a **custom board configuration** within the `boards/` directory of the PX4 firmware. This includes all necessary configuration files and hardware abstraction layers specific to my board design.

The firmware builds successfully and is uploaded to the board using **QGroundControl via USB**. However, after flashing, the board does not appear to establish a connection with QGroundControl. It seems that the board does not enumerate as a USB device after the firmware upload, preventing further interaction, including sensor calibration and parameter synchronization.

Attached the snap of QGroundControl

 ![Screenshot from 2025-05-07 17-30-03](https://discuss.px4.io/uploads/default/original/3X/b/c/bc0df0fde7e6f65af3cee839cc256f1e1aa28dd3.png)

---

<div class="post-metadata">

**Author:** ![JulianOes](https://discuss.px4.io/user_avatar/discuss.px4.io/julianoes/32/30_2.png) [@JulianOes](https://discuss.px4.io/u/JulianOes)\
**Post date:** [May 7, 2025, 10:21pm UTC](https://discuss.px4.io/t/adding-a-custom-board/45446/2 "2025-05-07T22:21:29Z")

</div>

Do you have a console connected to check the bootup and what is going on? If not, I highly recommend using either an FTDI cable on some Telem or GPS port, or using something like this debug adapter: [Pixhawk Debug Adapter – Holybro Store](https://holybro.com/products/pixhawk-debug-adapter?_pos=1&_sid=42c39aab0&_ss=r)

You can configure which serial port the console is on by changing the console setting in the defconfig. Here is Pixhawk 6C as an example:

> <https://github.com/PX4/PX4-Autopilot/blob/050425af257b2e943e4c564fcbaa11bc3788745d/boards/px4/fmu-v6c/nuttx-config/nsh/defconfig#L257>

---

<div class="post-metadata">

**Author:** ![hamza\_shabbir](https://discuss.px4.io/user_avatar/discuss.px4.io/hamza_shabbir/32/18225_2.png) [@hamza\_shabbir](https://discuss.px4.io/u/hamza_shabbir)\
**Post date:** [May 9, 2025, 5:41am UTC](https://discuss.px4.io/t/adding-a-custom-board/45446/3 "2025-05-09T05:41:26Z")

</div>

Thanks for the reply. Actually i design a custom board which had BMI055 sensor on board and have USART3 and UART5 pins at a External header. I can only program my board either using External ST-Link or using USB in DFU mode.

Is there any way i can share my files with you so that you can look into them and tell me whats wrong in that

---

<div class="post-metadata">

**Author:** ![JulianOes](https://discuss.px4.io/user_avatar/discuss.px4.io/julianoes/32/30_2.png) [@JulianOes](https://discuss.px4.io/u/JulianOes)\
**Post date:** [May 12, 2025, 10:23pm UTC](https://discuss.px4.io/t/adding-a-custom-board/45446/4 "2025-05-12T22:23:24Z")

</div>

For that sort of help, you’d probably have to go through my paid support, see [julianoes.com](http://julianoes.com).

---

<div class="post-metadata">

**Author:** ![system](https://discuss.px4.io/uploads/default/original/3X/7/3/73ce918bdcd64854de904f0c8d9ab70ca9723f2a.png) [@system](https://discuss.px4.io/u/system)\
**Post date:** [August 10, 2025, 10:24pm UTC](https://discuss.px4.io/t/adding-a-custom-board/45446/5 "2025-08-10T22:24:05Z")

</div>

Closed on August 10, 2025, 10:24pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
