Hi @reimonha, welcome to the forum
You may wish to look through our uploading ArduSub docs.
To clarify Patrick’s points above:
- configuring
waf
and building ArduSub should be done from the root of theardupilot
source code repository on your topside computer - for uploading firmware,
- if you want you can use
waf
to upload to a Pixhawk that has a direct USB connection to your topside computer, but - it would be most common to upload via the Companion (or BlueOS) web interface (from a browser in your topside computer), when the Pixhawk is connected via USB to the onboard (Raspberry Pi) computer
- if you want you can use