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
9 years ago
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
9 years ago
Andrew Tridgell
155043ac08
mk: give recursive submodule status
9 years ago
Andrew Tridgell
7c7e8b21e8
mk: don't ask for a build restart on module init
...
this makes it more travis friendly
9 years ago
Andrew Tridgell
dbefd87dd0
mk: support uavcan submodules
...
first recursive git submodules. yuck.
9 years ago
Staroselskii Georgii
f5df5e61bb
build: add navio2 target
9 years ago
Andrew Tridgell
c288c7d761
PX4: re-order startup to start mtd before ms5611
...
this avoids a bus locking issue on Pixracer
9 years ago
Peter Barker
4ba769d4a3
mk: native boards get -Wundef
9 years ago
Lucas De Marchi
1b55f5f994
mk: fixup qurt and qflight boards with -DHAVE_STD_REMOVE_REFERENCE=0
9 years ago
Lucas De Marchi
75d58bcfb6
Global: rename HAVE_NULLPTR_T with HAVE_STD_NULLPTR_T
...
This makes for a more standard name for these overrides.
9 years ago
Andrew Tridgell
815d653283
mk: fixup qurt and qflight builds with HAVE_STD_MOVE=0
9 years ago
Lucas De Marchi
ae5da864e7
mk: make PX4, QURT and QFLIGHT use wrapper cstddef
9 years ago
Tom Pittenger
7fda3ba178
mk: fix SITL windows build
...
fixes https://github.com/diydrones/ardupilot/issues/3586
9 years ago
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.
9 years ago
Peter Barker
529a0166d5
mk: px4: correct manipulation of files
...
- remove useless file copy
- replace rm/cp idiom with cp -f
9 years ago
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.
9 years ago
Andrew Tridgell
358dcd56e8
mk: put FMUv4 bootloader in ROMFS for Pixracer
9 years ago
Andrew Tridgell
a0af5515b8
mk: show submodule status on failure
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Andrew Tridgell
f6c2b55c3f
mk: fixed dependency on mavlink header generation
9 years ago
Siddharth Bharat Purohit
dd65495668
mk: generate mavlink headers using mavlink module files
9 years ago
Víctor Mayoral Vilches
41da1a4fc5
mk: add pxfmini target
9 years ago
Andrew Tridgell
a509daff54
build: added qurt build target
9 years ago
Andrew Tridgell
2fc60de500
build: added qflight build target
9 years ago
Aaron Wang Shi
736e3e6f46
build: support BH HAT build
9 years ago
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
9 years ago
Andrew Tridgell
af82ca3c43
PX4: removed old Images in clean
9 years ago
Andrew Tridgell
412bba0192
PX4: use Makefile.make
...
preparing for cmake build
9 years ago
Andrew Tridgell
1aa43b23f4
PX4: clean generated uORB topic headers in px4-clean
9 years ago
Andrew Tridgell
5105650304
PX4: added FMUv4 support in startup nsh script
9 years ago
Andrew Tridgell
015c110114
PX4: disable px4flow and oreoled on FMUv4
...
flow is dying on startup (needs fixing)
oreoled is PH2 specific
9 years ago
Andrew Tridgell
09276ce068
build: added px4fmu-v4 support (for XRacer)
9 years ago
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."
9 years ago
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.
9 years ago
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".
9 years ago
Andrew Tridgell
3d8993ff33
build: added sitl-asan build target
...
this enables the address sanitiser for array bounds error detection
9 years ago
Andrew Tridgell
3624162b18
PX4: added size of binaries to build
...
this will help us monitor the use of flash
9 years ago
Andrew Tridgell
c823d64073
PX4: removed unused mixer files
...
reduce size of ROMFS
9 years ago
Andrew Tridgell
98ef21bc69
PX4: don't auto-start uavcan, use BRD_CAN_ENABLE instead
9 years ago
Víctor Mayoral Vilches
112df0a0a6
mk: Add Erle-Brain 2 support
9 years ago
Lucas De Marchi
5c29703732
build: remove tools to find arduino
9 years ago
Lucas De Marchi
633e9dc036
build: remove wrong comment about avr-gcc
...
Flymaple doesn't use avr-gcc.
9 years ago
Lucas De Marchi
0e6da397d1
build: remove AVR boards
9 years ago
Andrew Tridgell
f1bcfa9d49
PX4: update to latest FMUv2 bootloader
9 years ago
Lucas De Marchi
29aa7001bf
build: add minlure target
9 years ago
lanbo.gao
6b687ea7bc
PX4: try to start both hmc5883 sensors for FMUv1
...
internal + external
9 years ago
Caio Marcelo de Oliveira Filho
ec52df991c
build: compile only the HAL files needed by the board
...
Instead of requiring every program to specify the HAL related modules,
let the build system do it (in practice everything we compiled depended
on HAL anyway). This allow including only the necessary files in the
compilation.
9 years ago
Andrew Tridgell
a39b341308
PX4: clean out .d dependency files from uavcan on px4-cleandep
9 years ago