> For the complete documentation index, see [llms.txt](https://lamhung81-2.gitbook.io/github-basic-tutorial/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lamhung81-2.gitbook.io/github-basic-tutorial/upload-compiled-firmware-of-pixhawk-from-odroid.md).

# Upload compiled firmware of Pixhawk from odroid

Here is the method for uploading firmware with the necessary of opening AUV tube each time:

* Compile firmware in Ground station computer
* cd build\_px4fmu-v2\_default/src/firmware/nuttx
* 3\) scp px4fmu-v2 default.px4 odroid\@odroid:/home/odroid/uploader

Then

* ssh odroid\@odroid
* cd uploader
* python px\_uploader.py --force --port /dev/ttyACM0 px4fmu-v2\_default.px4

The original code of px\_uploader.py is saved in google driver as in the following link:

<https://drive.google.com/open?id=0B1YP6Mffv0P1d3pwaVF0Rm1ZeVZwRllGdVQybDZFNDNZQmk0>
