SHOW:
|
|
- or go back to the newest paste.
| 1 | #be at your directory contining the source codes | |
| 2 | #then run the following commands to build the latest and greatest ardupilot. | |
| 3 | #it will delete any old builds if you have them. | |
| 4 | # slightly edited from Peter Barker | |
| 5 | ||
| 6 | git fetch origin --tags | |
| 7 | git checkout master | |
| 8 | git submodule update --recursive | |
| 9 | rm -rf build | |
| 10 | ./waf configure --board blue | |
| 11 | ./waf copter | |
| 12 | ||
| 13 | #to build latest beta instead | |
| 14 | #from Peter Barker | |
| 15 | ||
| 16 | git fetch origin --tags | |
| 17 | git checkout ArduCopter-beta | |
| 18 | git submodule update --recursive | |
| 19 | rm -rf build | |
| 20 | ./waf configure --board blue | |
| 21 | ./waf copter | |
| 22 | ||
| 23 |