Commit Graph

386 Commits

Author SHA1 Message Date
Andrew Tridgell
a658a78364 mk: cope with recursive submodules in all modules 2016-04-14 08:05:05 +10:00
Andrew Tridgell
61050e55d0 mk: disable pager in git during submodule check 2016-04-14 08:05:05 +10:00
Andrew Tridgell
3de9426088 mk: update modules list to include all submodules 2016-04-14 08:05:05 +10:00
Andrew Tridgell
d8f08591d5 PX4: fixed build with uavcan dependence on mavlink 2016-04-14 08:05:04 +10:00
Andrew Tridgell
d1e1941a46 PX4: pass -a 16 to lsm303d start
16G range
2016-04-14 08:05:04 +10:00
Andrew Tridgell
4ef27ce446 mk: fixed px4io build 2016-04-14 08:05:04 +10:00
Ricardo de Almeida Gonzaga
a0ca38a03f make: hardcode missing/cmath defines
In order to retain the current behavior
2016-04-05 21:06:25 -07:00
Ricardo de Almeida Gonzaga
730dc87b56 make: start using 'AP_Common/missing' to all boards 2016-04-05 21:06:25 -07:00
Francisco Ferreira
d1910a9e5e mk: don't error on unknown pragmas 2016-03-30 01:32:45 -03:00
Lucas De Marchi
5411057ec6 build: allow qurt to use sparse-endian.h
Add an include directory so we find endian.h and allow it to work
without byteswap.h
2016-03-23 17:50:38 -03:00
Will Sackfield
1d46ca048a Silence unknown warning options
* Clang doesn't implement all the warnings of GCC
so this ends up spamming the console and not being
helpful
2016-03-17 10:59:47 +11:00
Andrew Tridgell
155043ac08 mk: give recursive submodule status 2016-03-09 17:27:00 +11:00
Andrew Tridgell
7c7e8b21e8 mk: don't ask for a build restart on module init
this makes it more travis friendly
2016-03-04 15:27:19 +11:00
Andrew Tridgell
dbefd87dd0 mk: support uavcan submodules
first recursive git submodules. yuck.
2016-03-04 14:57:16 +11:00
Staroselskii Georgii
f5df5e61bb build: add navio2 target 2016-02-27 03:06:50 -03:00
Andrew Tridgell
c288c7d761 PX4: re-order startup to start mtd before ms5611
this avoids a bus locking issue on Pixracer
2016-02-23 16:34:06 +11:00
Peter Barker
4ba769d4a3 mk: native boards get -Wundef 2016-02-19 12:34:24 -02:00
Lucas De Marchi
1b55f5f994 mk: fixup qurt and qflight boards with -DHAVE_STD_REMOVE_REFERENCE=0 2016-02-16 19:49:09 -02:00
Lucas De Marchi
75d58bcfb6 Global: rename HAVE_NULLPTR_T with HAVE_STD_NULLPTR_T
This makes for a more standard name for these overrides.
2016-02-16 19:49:09 -02:00
Andrew Tridgell
815d653283 mk: fixup qurt and qflight builds with HAVE_STD_MOVE=0 2016-02-16 19:49:09 -02:00
Lucas De Marchi
ae5da864e7 mk: make PX4, QURT and QFLIGHT use wrapper cstddef 2016-02-16 19:49:08 -02:00
Tom Pittenger
7fda3ba178 mk: fix SITL windows build
fixes https://github.com/diydrones/ardupilot/issues/3586
2016-02-15 16:42:06 -08:00
Lucas De Marchi
f4bc5c60ba mk: px4: replace cp -f with cp
-f is only needed for rm because it fails when the file being removed
doesn't exist. cp doesn't need it.
2016-02-15 13:36:28 -02:00
Peter Barker
529a0166d5 mk: px4: correct manipulation of files
- remove useless file copy
 - replace rm/cp idiom with cp -f
2016-02-15 13:35:43 -02:00
Lucas De Marchi
517a7f0f35 mk: add missing warnings from AP_Common.h
Copy the missing warnings from AP_Common.h and reorder the warnings to
be more clear on intent. This will later let us remove the warnings from
the header.
2016-02-12 20:41:29 +11:00
Andrew Tridgell
358dcd56e8 mk: put FMUv4 bootloader in ROMFS for Pixracer 2016-02-12 20:36:18 +11:00
Andrew Tridgell
a0af5515b8 mk: show submodule status on failure 2016-01-25 19:43:55 +11:00
Julien BERAUD
f449107563 AP_HAL_Linux: Add Perf Lttng
Support for perf api using lttng.
Some additional build tricks needed for bebop because lttng uses dl_open
which is not compatible with a static link on a different libc as used
on the bebop
2016-01-14 19:13:35 -02:00
Lucas De Marchi
3a24531ade mk: fix dynamic linking option for board native
-pthread is the one supposed to be used because it defines pre-defined
macros as -lpthread doesn't
2016-01-14 18:59:04 -02:00
Julien BERAUD
f5f2e6dcd9 mk: fix dynamic linking option for board linux
-pthread is the one supposed to be used because it defines pre-defined
macros as -lpthread doesn't
2016-01-14 18:59:04 -02:00
Andrew Tridgell
f6c2b55c3f mk: fixed dependency on mavlink header generation 2016-01-15 07:44:15 +11:00
Siddharth Bharat Purohit
dd65495668 mk: generate mavlink headers using mavlink module files 2016-01-15 07:28:47 +11:00
Víctor Mayoral Vilches
41da1a4fc5 mk: add pxfmini target 2016-01-05 15:35:56 -02:00
Andrew Tridgell
a509daff54 build: added qurt build target 2015-12-27 16:21:25 +11:00
Andrew Tridgell
2fc60de500 build: added qflight build target 2015-12-27 16:12:27 +11:00
Aaron Wang Shi
736e3e6f46 build: support BH HAT build 2015-12-21 15:54:30 +11:00
squilter
65e2fb5367 Makefiles: add px4-v2-upload-solo
The IP of the Solo on its network is static, and will always be 10.1.1.10
2015-12-21 11:13:40 +09:00
Andrew Tridgell
af82ca3c43 PX4: removed old Images in clean 2015-11-27 18:54:31 +11:00
Andrew Tridgell
412bba0192 PX4: use Makefile.make
preparing for cmake build
2015-11-27 18:54:31 +11:00
Andrew Tridgell
1aa43b23f4 PX4: clean generated uORB topic headers in px4-clean 2015-11-27 18:54:31 +11:00
Andrew Tridgell
5105650304 PX4: added FMUv4 support in startup nsh script 2015-11-27 18:54:30 +11:00
Andrew Tridgell
015c110114 PX4: disable px4flow and oreoled on FMUv4
flow is dying on startup (needs fixing)

oreoled is PH2 specific
2015-11-27 18:54:30 +11:00
Andrew Tridgell
09276ce068 build: added px4fmu-v4 support (for XRacer) 2015-11-27 18:54:30 +11:00
Julien BERAUD
d7ff90326b mk: Fix build with removed header files
-MP "instructs CPP to add a phony target for each dependency other than the
main file, causing each to depend on nothing. These dummy rules work around
errors make gives if you remove header files without updating the Makefile to
match."
2015-11-27 16:25:08 +09:00
Julien BERAUD
bf5ac43142 mk: build the bebop statically
The toolchains aren't compatible and the size of the binary doesn't get too
big with the static flag so it avoids creating a chroot.
2015-11-13 12:15:36 +11:00
Caio Marcelo de Oliveira Filho
8630df00b3 build: disable warnings for unused params for FLYMAPLE
Other boards disable it, so the common code contains a lot of unused
parameters already. Use -Wno-unused-parameter to reduce the "noise".
2015-11-12 21:22:32 +11:00
Andrew Tridgell
3d8993ff33 build: added sitl-asan build target
this enables the address sanitiser for array bounds error detection
2015-11-10 16:21:41 +11:00
Andrew Tridgell
3624162b18 PX4: added size of binaries to build
this will help us monitor the use of flash
2015-11-09 13:25:49 +11:00
Andrew Tridgell
c823d64073 PX4: removed unused mixer files
reduce size of ROMFS
2015-11-07 16:37:51 +11:00
Andrew Tridgell
98ef21bc69 PX4: don't auto-start uavcan, use BRD_CAN_ENABLE instead 2015-11-06 10:23:54 +11:00