mirkix / ardupilotblue

Howto use BeagleBone Blue with ArduPilot
GNU General Public License v3.0
151 stars 56 forks source link

Unable to build ArduPilot on BB #19

Open hallard opened 6 years ago

hallard commented 6 years ago

Hi There, just wanted to know how did you compiled ardupilot on BeagleBone? I followed the procedure (after setting up kernel & co)

git clone git://github.com/ArduPilot/ardupilot.git
cd ArduPilot
git submodule update --init --recursive

All went fine but when I'm going to ArduCopter folder I'm unable to compile

debian@bblue:~/ardupilot/ArduCopter$ make linux
make: *** No rule to make target 'linux'.  Stop.
debian@bblue:~/ardupilot/ArduCopter$

trying just a make shows me target available, not linux.

debian@bblue:~/ardupilot/ArduCopter$ make

 ArduPilot Building
 ==================

 The following web page has detailed information on building the code
     http://dev.ardupilot.org/wiki/building-the-code/

 Linux boards should use waf build system

 Before building a target you need to be in the target vehicle type directory
 e.g. ArduPlane, ArduCopter, APMrover2, AntennaTracker

 Most targets support a "-upload" extension to upload the firmware
 to a connected board.  e.g. "make px4-v2-upload"

 Some targets support a "-debug" extension to enable a debug build
 (with debug symbols, and without optimisation)

 Note that the px4 builds are NOT parallel safe, NO -j flag

 Targets
 -------

  px4-v1 - the PX4v1 board
  px4-v2 - the Pixhawk
  px4-v3 - the Pixhawk with 2M flash
  px4-v4 - the XRacer
  vrbrain - the VRBrain boards
  sitl - the SITL Software In The Loop simulation
  f4light - the OpenPilot Revolution, Revolution Mini, AirbotF4 and similar boards

Looks like there is no rule to build from source on target or linux? Did I missed something?

Thanks

hallard commented 6 years ago

Self answer build with waf https://github.com/ArduPilot/ardupilot/blob/master/BUILD.md

would be great if doc was sync ;-) http://ardupilot.org/dev/docs/building-for-beaglebone-black-on-linux.html