Felix Ruess
9216228f4b
move init target to main makefile
2015-03-16 23:59:12 +01:00
Felix Ruess
81f562dc38
[build] possibilty to specify conf.xml file used for tests
...
If the CONF_XML environment variable is set, use that conf.xml file instead of the standard $PAPARAZZI_HOME/conf/conf.xml
Meaning you can run tests for a different conf without changing the conf.xml symlink, e.g.
```
CONF_XML=$PAPARAZZI_HOME/conf/conf_tests.xml prove tests/examples
```
2015-03-12 17:10:08 +01:00
Felix Ruess
6d2acf227d
[generators] gen_aircraft: possibility to specify conf.xml file
2015-03-12 16:56:06 +01:00
Felix Ruess
3f3db735ac
[build] improve build version stuff
...
- always save build version when updating anything that depends on libpprz, so it will also be updated on e.g. make tmtc
- only warn if the version number (major.minor.patch) is different, disregard the label, sha1, dirty postfixes in the string...
2014-12-22 12:12:30 +01:00
Gautier Hattenberger
d3f9e39533
[build] add build version to the log and print warning if not matching runtime version
2014-12-21 19:32:50 +01:00
Felix Ruess
19fdef9c68
[airborne] add pprz_version and send it with BOOT
2014-12-19 15:58:09 +01:00
Felix Ruess
d3494f6ff9
[build] default to parallel make for aircrafts
2014-12-03 13:14:22 +01:00
Felix Ruess
d7bbfdf656
[build] quiet output on clean_ac
2014-11-13 15:34:25 +01:00
Felix Ruess
81aa9e90c2
[build] don't print infos on stderr
...
generators should only output on stderr if there actually was an error.
Rather echo to stdout from the makefile to print the info.
This makes it possible to redirect stderr on compiling/testing to a buffer/file.
E.g. to check if there were warnings..
2014-11-07 17:18:46 +01:00
Gautier Hattenberger
170e5b6843
[settings] allow several groups of settings in modules
2014-09-30 18:49:28 +02:00
Gautier Hattenberger
6839d4ccdd
[generators] autopilot modes exported in xml settings file
...
for a future use
2014-09-04 16:56:33 +02:00
Gautier Hattenberger
f30047d852
[generator] allow multiple state machines for autopilot generator
2014-09-04 16:56:33 +02:00
Felix Ruess
c8432fe18f
[build] only set PAPARAZZI_SRC if not already externally set
...
closes #800
2014-08-17 23:41:01 +02:00
Felix Ruess
401dd2a9ef
[build] build in var/aircrafts/<ac_name> instead of var/<ac_name>
...
closes #649
2014-04-14 13:07:05 +02:00
Felix Ruess
bd00beb101
[build] only build firmware in parallel with J=AUTO
...
by passing J=AUTO from toplevel make it will auto-detect the number of CPUs
Number of processes can also be explicitly set with e.g. J=4
Calling make without a J variable is the same as J=1 (serial compilation)
2014-04-11 20:04:20 +02:00
Felix Ruess
e0f80abb32
[build] parallel build for firmwares
...
on OSX using sysctl seems to be faster than using system_profile and also more robust
(output is not named differently)
2014-04-11 19:31:18 +02:00
Felix Ruess
2c6f9535bf
[build] generated/modules.h: add dependency to modules/*.xml again
2014-03-22 14:26:26 +01:00
Gautier Hattenberger
88990fe07e
Merge remote-tracking branch 'paparazzi/master' into generators
...
Conflicts:
Makefile.ac
2014-03-21 18:18:05 +01:00
Gautier Hattenberger
c6d1c0d285
[build] move generation folder into target directory
...
thus we avoid to force generation of modules.h at every build
2014-03-20 23:58:28 +01:00
Gautier Hattenberger
ec63c47a9f
[build] force modules generation ( #415 )
2014-03-20 14:25:58 +01:00
Felix Ruess
974d966065
[tools] move generators into subdir
2014-02-27 20:18:33 +01:00
Felix Ruess
d12572dcdc
fix typo
2013-09-13 15:55:10 +02:00
Felix Ruess
06e69bcaea
TELEMETRY_FREQUENCY defaults to PERIODIC_FREQUENCY
...
also default to 60Hz if PERIODIC_FREQUENCY is not configured
2013-09-13 14:37:11 +02:00
Felix Ruess
6ea53c5c15
[tools] generated MODULES_FREQUENCY defaults to PERIODIC_FREQUENCY
2013-09-13 11:28:41 +02:00
Felix Ruess
de13525fd3
Merge branch 'ocamlfind_no_custom'
...
- Use findlib (ocamlfind) for ocaml packages.
- Create META file for pprz ocaml lib.
- Link dynamically instead of statically (no -custom), which also results in faster build times.
- Use mktemp to properly create temporary files.
- More makefile cleanup...
closes #274
2013-03-29 20:18:09 +01:00
Stephen Dwyer
e06a57717a
[makefile] on os x the default mktemp doesn't behave the same (older version), need to use gmktemp from the coreutils macport
2013-03-26 14:10:16 -06:00
Felix Ruess
77cd732702
[makefile] use mktemp to create unique temp files
...
This assumes that mktemp is available, but should provide a better solution for issue #229 .
Also create a variable holding the tempfile name which is unique to each target.
This should prevent problems with parallel builds, since these variables are global.
2013-03-21 16:46:58 +01:00
Felix Ruess
ae48da938d
[paparazzicenter] add checkbox to enable PRINT_CONFIG
2013-03-20 19:52:16 +01:00
Felix Ruess
de3055e40b
[makefile] print paparazzi_version when building sim, remove throwing error on old UART_NR configure
2013-02-28 17:15:44 +01:00
Felix Ruess
f90a9b687f
[build system] honor TMPDIR environment variable
...
closes #229
2013-02-08 18:58:59 +01:00
Felix Ruess
2010933572
[build system] removed some more old avr cruft in Makefiles
2013-01-24 23:35:28 +01:00
Gautier Hattenberger
1cde58928b
[autopilot] AP is generated when autopilot node exists in airframe
2012-11-14 14:09:32 +01:00
Gautier Hattenberger
6cc88ba260
[autopilot] dig some old code to generate autopilots
2012-11-14 10:55:59 +01:00
Felix Ruess
5a80952830
[build] make difference between telemetry and main periodic freq more clear
...
define a default TELEMETRY_FREQUENCY of 60Hz _after_ including the generated airframe makefile
2012-11-10 22:49:14 +01:00
Felix Ruess
6037bc93dd
[build] cleanup a bit more
2012-11-10 22:46:48 +01:00
Felix Ruess
8bff1b46c9
[build system] clean up makefiles and fix dependencies, parallel build with make -j 8 seems to work now
2012-11-10 19:45:22 +01:00
Felix Ruess
8e1f66d72b
[build] mark some targets as phony
2012-09-29 13:45:22 +02:00
Felix Ruess
34e10040e2
[build] print paparazzi version when building
2012-09-28 10:52:11 +02:00
Felix Ruess
5cae44e2ea
simplifly Makefiles a bit, use ?= instead of ifndef
2012-09-18 23:14:54 +02:00
Felix Ruess
167d9c6da3
removed demo makefile target, as it only starts paparazzi center and was not well named
...
closes #228
2012-06-30 15:13:53 +02:00
Gautier Hattenberger
2bd08efd44
[tools] remove unused gen_tuning.ml
2012-05-29 14:57:16 +02:00
Felix Ruess
afe5c5b62c
make telemetry settings the first tab
2012-04-02 19:03:17 +02:00
Gautier Hattenberger
bb192c033a
rename periodic.h to periodic_telemetry.h; remove channel/device at code generation (unused)
2012-02-10 18:56:11 +01:00
Gautier Hattenberger
c30b7248dc
the telemetry settings are automatically generated and included to the
...
settings list and the GCS (working with fixedwing and rotorcraft
firmwares)
2012-01-25 11:40:28 +01:00
Felix Ruess
d198072226
also print LDFLAGS to var/ac/target_srcs.list
2011-10-24 16:35:43 +02:00
Felix Ruess
6d53c1314d
don't attempt to (non-existing) copy map tiles on init
2011-01-19 14:16:10 +01:00
Gautier Hattenberger
e945dc86be
factorize most of the modules tools
2010-12-24 11:03:07 +01:00
Felix Ruess
7fd01bcbe2
put generated headers in a seperate generated dir and specifically include generated/xxx.h
2010-11-23 20:52:25 +01:00
Felix Ruess
8d02fa05f8
removed old booz generation of radio_control ppm
2010-10-27 14:56:13 +00:00
Felix Ruess
03a9ab6fc0
moved arm7 directory to arch/lpc21 and set most makefiles accordingly
2010-09-22 23:23:55 +00:00