-
Notifications
You must be signed in to change notification settings - Fork 9
Compiling and Uploading Code
Following the compile and upload steps here
This is for Mac, Linux and Windows using the PX4 console. Please follow the following steps:
-
Navigate to your Firmware directory
-
Build the archives (this only needs to be done your first time) make distclean make archives
-
make the code: make px4fmu-v2_aa241x
-
Upload the code: make upload px4fmu-v2_aa241x
Some notes on building the code:
-
you should never have to remake the archives, for you Windows folks it may take a while to make the archives so thankfully that only needs to be done once
-
when you simply modify code in the existing files, you simply need to rerun make upload px4fmu-v2_aa241x if you want to immediately upload the updates. If you simply want to check to see if you added no errors, run make px4fmu-v2_aa241x
-
If you have added files to the code, you must clean the directory before you rebuild the firmware, so you will need to execute the following: make clean make px4fmu-v2_aa241x (or make upload if you want to upload immediately)