Servers by jDrones

How to build ardupilot for a customized flight controller

I have designed a flight controller since stm32f405rgt6 just haven’t enough pwms so I use the vgt6 version.
main mcu: stm32f405vgt6
imu: mpu6500
baro: bmp280
Do I just need modify a hwdef for right pinouts, or do I need to revise other files as well and then compile them?
Tanks for answering if you happen to have the experience of doing things like this :grinning:

Servers by jDrones